1 error[E0432]: unresolved import `nonexistent_module`
2 --> $DIR/issue-53269.rs:6:9
4 LL | use nonexistent_module::mac;
5 | ^^^^^^^^^^^^^^^^^^ maybe a missing crate `nonexistent_module`?
7 error[E0659]: `mac` is ambiguous (`macro_rules` vs non-`macro_rules` from other module)
8 --> $DIR/issue-53269.rs:8:5
13 note: `mac` could refer to the macro defined here
14 --> $DIR/issue-53269.rs:3:1
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
21 LL | use nonexistent_module::mac;
22 | ^^^^^^^^^^^^^^^^^^^^^^^
23 = help: use `self::mac` to refer to this unresolved item unambiguously
25 error: aborting due to 2 previous errors
27 Some errors have detailed explanations: E0432, E0659.
28 For more information about an error, try `rustc --explain E0432`.