fork/rust

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

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

1.39.0
991 B34 linesraw
1error[E0432]: unresolved import `NonExistent`
2  --> $DIR/issue-55457.rs:1:5
3   |
4LL | use NonExistent;
5   |     ^^^^^^^^^^^
6   |     |
7   |     no `NonExistent` in the root
8   |     help: a similar name exists in the module: `non_existent`
9
10error[E0432]: unresolved import `non_existent`
11  --> $DIR/issue-55457.rs:2:5
12   |
13LL | use non_existent::non_existent;
14   |     ^^^^^^^^^^^^ maybe a missing crate `non_existent`?
15
16error: cannot determine resolution for the derive macro `NonExistent`
17  --> $DIR/issue-55457.rs:5:10
18   |
19LL | #[derive(NonExistent)]
20   |          ^^^^^^^^^^^
21   |
22   = note: import resolution is stuck, try simplifying macro imports
23
24error: cannot determine resolution for the attribute macro `non_existent`
25  --> $DIR/issue-55457.rs:4:3
26   |
27LL | #[non_existent]
28   |   ^^^^^^^^^^^^
29   |
30   = note: import resolution is stuck, try simplifying macro imports
31
32error: aborting due to 4 previous errors
33
34For more information about this error, try `rustc --explain E0432`.