fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0432]: unresolved import `ImportError` 2 --> $DIR/issue-5035.rs:5:5 3 | 4LL | use ImportError; 5 | ^^^^^^^^^^^ no `ImportError` in the root 6 7error[E0404]: expected trait, found type alias `K` 8 --> $DIR/issue-5035.rs:3:6 9 | 10LL | trait I {} 11 | ---------- similarly named trait `I` defined here 12LL | type K = dyn I; 13LL | impl K for isize {} 14 | ^ 15 | | 16 | type aliases cannot be used as traits 17 | help: a trait with a similar name exists: `I` 18 | 19 = note: did you mean to use a trait alias? 20 21error: aborting due to 2 previous errors 22 23Some errors have detailed explanations: E0404, E0432. 24For more information about an error, try `rustc --explain E0404`.