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