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