fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
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 | ^ type aliases cannot be used as traits 15 | 16help: you might have meant to use `#![feature(trait_alias)]` instead of a `type` alias 17 | 18LL | trait K = dyn I; 19 | 20help: a trait with a similar name exists 21 | 22LL | impl I for isize {} 23 | ~ 24 25error: aborting due to 2 previous errors 26 27Some errors have detailed explanations: E0404, E0432. 28For more information about an error, try `rustc --explain E0404`.