1 error[E0659]: `m` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution)
2 --> $DIR/restricted-shadowing-modern.rs:106:17
4 LL | m!(); //~ ERROR `m` is ambiguous
8 | ----------- in this macro invocation
10 note: `m` could refer to the macro defined here
11 --> $DIR/restricted-shadowing-modern.rs:91:9
13 LL | macro m() { Right }
17 | ----------- in this macro invocation
18 note: `m` could also refer to the macro defined here
19 --> $DIR/restricted-shadowing-modern.rs:101:9
25 | ----------- in this macro invocation
27 error[E0659]: `m` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution)
28 --> $DIR/restricted-shadowing-modern.rs:149:33
30 LL | macro gen_invoc() { m!() } //~ ERROR `m` is ambiguous
34 | ----------- in this macro invocation
36 note: `m` could refer to the macro defined here
37 --> $DIR/restricted-shadowing-modern.rs:91:9
39 LL | macro m() { Right }
43 | ----------- in this macro invocation
44 note: `m` could also refer to the macro defined here
45 --> $DIR/restricted-shadowing-modern.rs:145:9
51 | ----------- in this macro invocation
53 error[E0659]: `m` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution)
54 --> $DIR/restricted-shadowing-modern.rs:158:13
56 LL | m!(); //~ ERROR `m` is ambiguous
60 | ----------- in this macro invocation
62 note: `m` could refer to the macro defined here
63 --> $DIR/restricted-shadowing-modern.rs:91:9
65 LL | macro m() { Right }
69 | ----------- in this macro invocation
70 note: `m` could also refer to the macro defined here
71 --> $DIR/restricted-shadowing-modern.rs:155:9
77 | ----------- in this macro invocation
79 error[E0659]: `m` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution)
80 --> $DIR/restricted-shadowing-modern.rs:174:13
82 LL | m!(); //~ ERROR `m` is ambiguous
86 | ----------- in this macro invocation
88 note: `m` could refer to the macro defined here
89 --> $DIR/restricted-shadowing-modern.rs:91:9
91 LL | macro m() { Right }
95 | ----------- in this macro invocation
96 note: `m` could also refer to the macro defined here
97 --> $DIR/restricted-shadowing-modern.rs:87:9
99 LL | macro m() { Wrong }
100 | ^^^^^^^^^^^^^^^^^^^
103 | ----------- in this macro invocation
105 error[E0659]: `m` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution)
106 --> $DIR/restricted-shadowing-modern.rs:192:17
108 LL | m!(); //~ ERROR `m` is ambiguous
112 | ----------- in this macro invocation
114 note: `m` could refer to the macro defined here
115 --> $DIR/restricted-shadowing-modern.rs:91:9
117 LL | macro m() { Right }
118 | ^^^^^^^^^^^^^^^^^^^
121 | ----------- in this macro invocation
122 note: `m` could also refer to the macro defined here
123 --> $DIR/restricted-shadowing-modern.rs:87:9
125 LL | macro m() { Wrong }
126 | ^^^^^^^^^^^^^^^^^^^
129 | ----------- in this macro invocation
131 error[E0659]: `m` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution)
132 --> $DIR/restricted-shadowing-modern.rs:235:33
134 LL | macro gen_invoc() { m!() } //~ ERROR `m` is ambiguous
138 | ----------- in this macro invocation
140 note: `m` could refer to the macro defined here
141 --> $DIR/restricted-shadowing-modern.rs:91:9
143 LL | macro m() { Right }
144 | ^^^^^^^^^^^^^^^^^^^
147 | ----------- in this macro invocation
148 note: `m` could also refer to the macro defined here
149 --> $DIR/restricted-shadowing-modern.rs:87:9
151 LL | macro m() { Wrong }
152 | ^^^^^^^^^^^^^^^^^^^
155 | ----------- in this macro invocation
157 error: aborting due to 6 previous errors
159 For more information about this error, try `rustc --explain E0659`.