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