fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
605 B21 linesraw
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 | 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
18error: aborting due to 2 previous errors
19
20Some errors have detailed explanations: E0404, E0432.
21For more information about an error, try `rustc --explain E0404`.