fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error[E0659]: `m` is ambiguous (glob import vs macro-expanded name in the same module during import/macro resolution) 2 --> $DIR/macros.rs:16:5 3 | 4LL | m! { 5 | ^ ambiguous name 6 | 7note: `m` could refer to the macro imported here 8 --> $DIR/macros.rs:17:13 9 | 10LL | use foo::m; 11 | ^^^^^^ 12note: `m` could also refer to the macro imported here 13 --> $DIR/macros.rs:15:9 14 | 15LL | use two_macros::*; 16 | ^^^^^^^^^^^^^ 17 = help: consider adding an explicit import of `m` to disambiguate 18 19error[E0659]: `m` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution) 20 --> $DIR/macros.rs:29:9 21 | 22LL | m! { 23 | ^ ambiguous name 24 | 25note: `m` could refer to the macro imported here 26 --> $DIR/macros.rs:30:17 27 | 28LL | use two_macros::n as m; 29 | ^^^^^^^^^^^^^^^^^^ 30note: `m` could also refer to the macro imported here 31 --> $DIR/macros.rs:22:9 32 | 33LL | use two_macros::m; 34 | ^^^^^^^^^^^^^ 35 = help: use `self::m` to refer to this macro unambiguously 36 37error: aborting due to 2 previous errors 38 39For more information about this error, try `rustc --explain E0659`.