]> git.lizzy.rs Git - rust.git/blob - tests/ui/imports/issue-55457.stderr
Rollup merge of #106427 - mejrs:translation_errors, r=davidtwco
[rust.git] / tests / 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 crate `non_existent`?
15    |
16    = help: consider adding `extern crate non_existent` to use the `non_existent` crate
17
18 error: cannot determine resolution for the derive macro `NonExistent`
19   --> $DIR/issue-55457.rs:5:10
20    |
21 LL | #[derive(NonExistent)]
22    |          ^^^^^^^^^^^
23    |
24    = note: import resolution is stuck, try simplifying macro imports
25
26 error: cannot determine resolution for the attribute macro `non_existent`
27   --> $DIR/issue-55457.rs:4:3
28    |
29 LL | #[non_existent]
30    |   ^^^^^^^^^^^^
31    |
32    = note: import resolution is stuck, try simplifying macro imports
33
34 error: cannot determine resolution for the derive macro `NonExistent`
35   --> $DIR/issue-55457.rs:5:10
36    |
37 LL | #[derive(NonExistent)]
38    |          ^^^^^^^^^^^
39    |
40    = note: import resolution is stuck, try simplifying macro imports
41
42 error: cannot determine resolution for the derive macro `NonExistent`
43   --> $DIR/issue-55457.rs:5:10
44    |
45 LL | #[derive(NonExistent)]
46    |          ^^^^^^^^^^^
47    |
48    = note: import resolution is stuck, try simplifying macro imports
49
50 error: aborting due to 6 previous errors
51
52 For more information about this error, try `rustc --explain E0432`.