]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/issue-53269.stderr
Auto merge of #63166 - ksqsf:master, r=alexcrichton
[rust.git] / src / test / 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 error[E0659]: `mac` is ambiguous (`macro_rules` vs non-`macro_rules` from other module)
8   --> $DIR/issue-53269.rs:8:5
9    |
10 LL |     mac!();
11    |     ^^^ ambiguous name
12    |
13 note: `mac` could refer to the macro defined here
14   --> $DIR/issue-53269.rs:3:1
15    |
16 LL | macro_rules! mac { () => () }
17    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18 note: `mac` could also refer to the unresolved item imported here
19   --> $DIR/issue-53269.rs:6:9
20    |
21 LL |     use nonexistent_module::mac;
22    |         ^^^^^^^^^^^^^^^^^^^^^^^
23    = help: use `self::mac` to refer to this unresolved item unambiguously
24
25 error: aborting due to 2 previous errors
26
27 Some errors have detailed explanations: E0432, E0659.
28 For more information about an error, try `rustc --explain E0432`.