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 for traits | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0404`. |