rust/tests/ui/traits/alias/impl.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
269 B
Plaintext
Raw Normal View History

error[E0404]: expected trait, found trait alias `DefaultAlias`
2021-02-09 06:15:45 +08:00
--> $DIR/impl.rs:5:6
|
2019-03-09 20:03:44 +08:00
LL | impl DefaultAlias for () {}
| ^^^^^^^^^^^^ not a trait
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0404`.