1 error[E0659]: `bar` is ambiguous
2 --> $DIR/macro-paths.rs:13:5
7 = note: ambiguous because of a conflict between a name from a glob import and a macro-expanded name in the same module during import or macro resolution
8 note: `bar` could refer to the module defined here
9 --> $DIR/macro-paths.rs:14:9
11 LL | mod bar { pub use two_macros::m; }
12 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 note: `bar` could also refer to the module imported here
14 --> $DIR/macro-paths.rs:12:9
18 = help: consider adding an explicit import of `bar` to disambiguate
20 error[E0659]: `baz` is ambiguous
21 --> $DIR/macro-paths.rs:23:5
26 = note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution
27 note: `baz` could refer to the module defined here
28 --> $DIR/macro-paths.rs:24:9
30 LL | mod baz { pub use two_macros::m; }
31 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32 note: `baz` could also refer to the module defined here
33 --> $DIR/macro-paths.rs:18:1
36 LL | | pub use two_macros::m;
39 = help: use `crate::baz` to refer to this module unambiguously
41 error: aborting due to 2 previous errors
43 For more information about this error, try `rustc --explain E0659`.