rust/src/test/ui/codemap_tests/two_files.stderr
Alexander Regueiro 4751953d5f Added tests.
2018-11-03 04:09:34 +00:00

11 lines
367 B
Text

error[E0404]: expected trait, found type alias `Bar`
--> $DIR/two_files.rs:15: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`.