fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error[E0404]: expected trait, found type alias `Foo` 2 --> $DIR/issue-3907.rs:11:6 3 | 4LL | impl Foo for S { 5 | ^^^ type aliases cannot be used as traits 6 | 7 = note: did you mean to use a trait alias? 8help: possible better candidate is found in another module, you can import it into scope 9 | 10LL | use issue_3907::Foo; 11 | 12 13error: aborting due to previous error 14 15For more information about this error, try `rustc --explain E0404`.