fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0659]: `exported` is ambiguous (glob import vs macro-expanded name in the same module during import/macro resolution) 2 --> $DIR/local-modularized-tricky-fail-1.rs:28:1 3 | 4LL | exported!(); 5 | ^^^^^^^^ ambiguous name 6 | 7note: `exported` could refer to the macro defined here 8 --> $DIR/local-modularized-tricky-fail-1.rs:5:5 9 | 10LL | / macro_rules! exported { 11LL | | () => () 12LL | | } 13 | |_____^ 14... 15LL | define_exported!(); 16 | ------------------- in this macro invocation 17note: `exported` could also refer to the macro imported here 18 --> $DIR/local-modularized-tricky-fail-1.rs:22:5 19 | 20LL | use inner1::*; 21 | ^^^^^^^^^ 22 = help: consider adding an explicit import of `exported` to disambiguate 23 24error[E0659]: `panic` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution) 25 --> $DIR/local-modularized-tricky-fail-1.rs:35:5 26 | 27LL | panic!(); 28 | ^^^^^ ambiguous name 29 | 30 = note: `panic` could refer to a macro from prelude 31note: `panic` could also refer to the macro defined here 32 --> $DIR/local-modularized-tricky-fail-1.rs:11:5 33 | 34LL | / macro_rules! panic { 35LL | | () => () 36LL | | } 37 | |_____^ 38... 39LL | define_panic!(); 40 | ---------------- in this macro invocation 41 = help: use `crate::panic` to refer to this macro unambiguously 42 43error[E0659]: `include` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution) 44 --> $DIR/local-modularized-tricky-fail-1.rs:46:1 45 | 46LL | include!(); 47 | ^^^^^^^ ambiguous name 48 | 49 = note: `include` could refer to a macro from prelude 50note: `include` could also refer to the macro defined here 51 --> $DIR/local-modularized-tricky-fail-1.rs:17:5 52 | 53LL | / macro_rules! include { 54LL | | () => () 55LL | | } 56 | |_____^ 57... 58LL | define_include!(); 59 | ------------------ in this macro invocation 60 = help: use `crate::include` to refer to this macro unambiguously 61 62error: aborting due to 3 previous errors 63 64For more information about this error, try `rustc --explain E0659`.