1 error[E0432]: unresolved import `nonexistent_module`
2 --> $DIR/issue-53269.rs:16:9
4 LL | use nonexistent_module::mac; //~ ERROR unresolved import `nonexistent_module`
5 | ^^^^^^^^^^^^^^^^^^ Maybe a missing `extern crate nonexistent_module;`?
7 error[E0659]: `mac` is ambiguous
8 --> $DIR/issue-53269.rs:18:5
10 LL | mac!(); //~ ERROR `mac` is ambiguous
13 note: `mac` could refer to the name defined here
14 --> $DIR/issue-53269.rs:13:1
16 LL | macro_rules! mac { () => () }
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18 note: `mac` could also refer to the name imported here
19 --> $DIR/issue-53269.rs:16:9
21 LL | use nonexistent_module::mac; //~ ERROR unresolved import `nonexistent_module`
22 | ^^^^^^^^^^^^^^^^^^^^^^^
24 error: aborting due to 2 previous errors
26 Some errors occurred: E0432, E0659.
27 For more information about an error, try `rustc --explain E0432`.