1 error[E0432]: unresolved import `ImportError`
2 --> $DIR/issue-5035.rs:5:5
5 | ^^^^^^^^^^^ no `ImportError` in the root
7 error[E0404]: expected trait, found type alias `K`
8 --> $DIR/issue-5035.rs:3:6
10 LL | impl K for isize {}
13 | type aliases cannot be used as traits
14 | help: a trait with a similar name exists: `I`
16 = note: did you mean to use a trait alias?
18 error: aborting due to 2 previous errors
20 Some errors have detailed explanations: E0404, E0432.
21 For more information about an error, try `rustc --explain E0404`.