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

10 lines
269 B
Plaintext

error[E0404]: expected trait, found trait alias `DefaultAlias`
--> $DIR/impl.rs:5:6
|
LL | impl DefaultAlias for () {}
| ^^^^^^^^^^^^ not a trait
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0404`.