1 error[E0659]: `bar` is ambiguous
2 --> $DIR/macro-paths.rs:23:5
4 LL | bar::m! { //~ ERROR ambiguous
7 note: `bar` could refer to the name defined here
8 --> $DIR/macro-paths.rs:24:9
10 LL | mod bar { pub use two_macros::m; }
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 note: `bar` could also refer to the name imported here
13 --> $DIR/macro-paths.rs:22:9
17 = note: macro-expanded items do not shadow when used in a macro invocation path
19 error[E0659]: `baz` is ambiguous
20 --> $DIR/macro-paths.rs:33:5
22 LL | baz::m! { //~ ERROR ambiguous
25 note: `baz` could refer to the name defined here
26 --> $DIR/macro-paths.rs:34:9
28 LL | mod baz { pub use two_macros::m; }
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30 note: `baz` could also refer to the name defined here
31 --> $DIR/macro-paths.rs:28:1
34 LL | | pub use two_macros::m;
37 = note: macro-expanded items do not shadow when used in a macro invocation path
39 error: aborting due to 2 previous errors
41 For more information about this error, try `rustc --explain E0659`.