]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/local-modularized-tricky-fail-1.stderr
Sync portable-simd to rust-lang/portable-simd@72df4c45056a8bc0d1b3f06fdc828722177f0763
[rust.git] / src / test / ui / imports / local-modularized-tricky-fail-1.stderr
1 error[E0659]: `exported` is ambiguous
2   --> $DIR/local-modularized-tricky-fail-1.rs:28:1
3    |
4 LL | exported!();
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
8 note: `exported` could refer to the macro defined here
9   --> $DIR/local-modularized-tricky-fail-1.rs:5:5
10    |
11 LL | /     macro_rules! exported {
12 LL | |         () => ()
13 LL | |     }
14    | |_____^
15 ...
16 LL |       define_exported!();
17    |       ------------------ in this macro invocation
18 note: `exported` could also refer to the macro imported here
19   --> $DIR/local-modularized-tricky-fail-1.rs:22:5
20    |
21 LL | use inner1::*;
22    |     ^^^^^^^^^
23    = help: consider adding an explicit import of `exported` to disambiguate
24    = note: this error originates in the macro `define_exported` (in Nightly builds, run with -Z macro-backtrace for more info)
25
26 error[E0659]: `exported` is ambiguous
27   --> $DIR/local-modularized-tricky-fail-1.rs:28:1
28    |
29 LL | exported!();
30    | ^^^^^^^^ ambiguous name
31    |
32    = 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
33 note: `exported` could refer to the macro defined here
34   --> $DIR/local-modularized-tricky-fail-1.rs:5:5
35    |
36 LL | /     macro_rules! exported {
37 LL | |         () => ()
38 LL | |     }
39    | |_____^
40 ...
41 LL |       define_exported!();
42    |       ------------------ in this macro invocation
43 note: `exported` could also refer to the macro imported here
44   --> $DIR/local-modularized-tricky-fail-1.rs:22:5
45    |
46 LL | use inner1::*;
47    |     ^^^^^^^^^
48    = help: consider adding an explicit import of `exported` to disambiguate
49    = note: this error originates in the macro `define_exported` (in Nightly builds, run with -Z macro-backtrace for more info)
50
51 error[E0659]: `panic` is ambiguous
52   --> $DIR/local-modularized-tricky-fail-1.rs:36:5
53    |
54 LL |     panic!();
55    |     ^^^^^ ambiguous name
56    |
57    = 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
58    = note: `panic` could refer to a macro from prelude
59 note: `panic` could also refer to the macro defined here
60   --> $DIR/local-modularized-tricky-fail-1.rs:11:5
61    |
62 LL | /     macro_rules! panic {
63 LL | |         () => ()
64 LL | |     }
65    | |_____^
66 ...
67 LL |       define_panic!();
68    |       --------------- in this macro invocation
69    = help: use `crate::panic` to refer to this macro unambiguously
70    = note: this error originates in the macro `define_panic` (in Nightly builds, run with -Z macro-backtrace for more info)
71
72 error[E0659]: `include` is ambiguous
73   --> $DIR/local-modularized-tricky-fail-1.rs:47:1
74    |
75 LL | include!();
76    | ^^^^^^^ ambiguous name
77    |
78    = 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
79    = note: `include` could refer to a macro from prelude
80 note: `include` could also refer to the macro defined here
81   --> $DIR/local-modularized-tricky-fail-1.rs:17:5
82    |
83 LL | /     macro_rules! include {
84 LL | |         () => ()
85 LL | |     }
86    | |_____^
87 ...
88 LL |       define_include!();
89    |       ----------------- in this macro invocation
90    = help: use `crate::include` to refer to this macro unambiguously
91    = note: this error originates in the macro `define_include` (in Nightly builds, run with -Z macro-backtrace for more info)
92
93 error: aborting due to 4 previous errors
94
95 For more information about this error, try `rustc --explain E0659`.