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