rust/src/test/ui/codemap_tests/two_files.stderr
2018-12-25 21:08:33 -07:00

11 lines
366 B
Text

error[E0404]: expected trait, found type alias `Bar`
--> $DIR/two_files.rs:5:6
|
LL | impl Bar for Baz { } //~ ERROR expected trait, found type alias
| ^^^ type aliases cannot be used as traits
|
= note: did you mean to use a trait alias?
error: aborting due to previous error
For more information about this error, try `rustc --explain E0404`.