]> git.proxmox.com Git - rustc.git/blame - src/test/ui/imports/local-modularized-tricky-fail-1.stderr
New upstream version 1.39.0+dfsg1
[rustc.git] / src / test / ui / imports / local-modularized-tricky-fail-1.stderr
CommitLineData
13cf67c4 1error[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 4LL | exported!();
b7449926
XL
5 | ^^^^^^^^ ambiguous name
6 |
13cf67c4 7note: `exported` could refer to the macro defined here
0731742a 8 --> $DIR/local-modularized-tricky-fail-1.rs:5:5
b7449926
XL
9 |
10LL | / macro_rules! exported {
11LL | | () => ()
12LL | | }
13 | |_____^
14...
15LL | define_exported!();
16 | ------------------- in this macro invocation
13cf67c4 17note: `exported` could also refer to the macro imported here
0731742a 18 --> $DIR/local-modularized-tricky-fail-1.rs:22:5
b7449926
XL
19 |
20LL | use inner1::*;
21 | ^^^^^^^^^
13cf67c4 22 = help: consider adding an explicit import of `exported` to disambiguate
b7449926 23
13cf67c4 24error[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 27LL | panic!();
b7449926
XL
28 | ^^^^^ ambiguous name
29 |
13cf67c4
XL
30 = note: `panic` could refer to a macro from prelude
31note: `panic` could also refer to the macro defined here
0731742a 32 --> $DIR/local-modularized-tricky-fail-1.rs:11:5
b7449926
XL
33 |
34LL | / macro_rules! panic {
35LL | | () => ()
36LL | | }
37 | |_____^
38...
39LL | define_panic!();
40 | ---------------- in this macro invocation
13cf67c4 41 = help: use `crate::panic` to refer to this macro unambiguously
b7449926 42
e1599b0c
XL
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
48663c56 62error: aborting due to 3 previous errors
b7449926
XL
63
64For more information about this error, try `rustc --explain E0659`.