]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/issue-5035.stderr
Rollup merge of #61207 - taiki-e:arbitrary_self_types-lifetime-elision-2, r=Centril
[rust.git] / src / test / ui / resolve / issue-5035.stderr
1 error[E0432]: unresolved import `ImportError`
2   --> $DIR/issue-5035.rs:5:5
3    |
4 LL | use ImportError;
5    |     ^^^^^^^^^^^ no `ImportError` in the root
6
7 error[E0404]: expected trait, found type alias `K`
8   --> $DIR/issue-5035.rs:3:6
9    |
10 LL | impl K for isize {}
11    |      ^
12    |      |
13    |      type aliases cannot be used as traits
14    |      help: a trait with a similar name exists: `I`
15    |
16    = note: did you mean to use a trait alias?
17
18 error: aborting due to 2 previous errors
19
20 Some errors have detailed explanations: E0404, E0432.
21 For more information about an error, try `rustc --explain E0404`.