1 error[E0404]: expected trait, found type alias `Bar`
2 --> $DIR/two_files.rs:5:6
4 LL | impl Bar for Baz { }
5 | ^^^ type aliases cannot be used as traits
7 help: you might have meant to use `#![feature(trait_alias)]` instead of a `type` alias
8 --> $DIR/two_files_data.rs:5:1
10 LL | trait Bar = dyn Foo;
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0404`.