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