fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
1.4 KiB50 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: cannot determine resolution for the derive macro `NonExistent`
33  --> $DIR/issue-55457.rs:5:10
34   |
35LL | #[derive(NonExistent)]
36   |          ^^^^^^^^^^^
37   |
38   = note: import resolution is stuck, try simplifying macro imports
39
40error: cannot determine resolution for the derive macro `NonExistent`
41  --> $DIR/issue-55457.rs:5:10
42   |
43LL | #[derive(NonExistent)]
44   |          ^^^^^^^^^^^
45   |
46   = note: import resolution is stuck, try simplifying macro imports
47
48error: aborting due to 6 previous errors
49
50For more information about this error, try `rustc --explain E0432`.