]> git.lizzy.rs Git - rust.git/blob - tests/ui/imports/issue-53269.stderr
Auto merge of #106853 - TimNN:undo-remap, r=oli-obk
[rust.git] / tests / ui / imports / issue-53269.stderr
1 error[E0432]: unresolved import `nonexistent_module`
2   --> $DIR/issue-53269.rs:6:9
3    |
4 LL |     use nonexistent_module::mac;
5    |         ^^^^^^^^^^^^^^^^^^ maybe a missing crate `nonexistent_module`?
6    |
7    = help: consider adding `extern crate nonexistent_module` to use the `nonexistent_module` crate
8
9 error[E0659]: `mac` is ambiguous
10   --> $DIR/issue-53269.rs:8:5
11    |
12 LL |     mac!();
13    |     ^^^ ambiguous name
14    |
15    = note: ambiguous because of a conflict between a `macro_rules` name and a non-`macro_rules` name from another module
16 note: `mac` could refer to the macro defined here
17   --> $DIR/issue-53269.rs:3:1
18    |
19 LL | macro_rules! mac { () => () }
20    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21 note: `mac` could also refer to the unresolved item imported here
22   --> $DIR/issue-53269.rs:6:9
23    |
24 LL |     use nonexistent_module::mac;
25    |         ^^^^^^^^^^^^^^^^^^^^^^^
26    = help: use `self::mac` to refer to this unresolved item unambiguously
27
28 error: aborting due to 2 previous errors
29
30 Some errors have detailed explanations: E0432, E0659.
31 For more information about an error, try `rustc --explain E0432`.