]> git.proxmox.com Git - rustc.git/blob - src/test/ui/hygiene/hygienic-labels.stderr
New upstream version 1.62.1+dfsg1
[rustc.git] / src / test / ui / hygiene / hygienic-labels.stderr
1 warning: label name `'x` shadows a label name that is already in scope
2 --> $DIR/hygienic-labels.rs:13:9
3 |
4 LL | 'x: loop { $e }
5 | ^^ label `'x` already in scope
6 ...
7 LL | 'x: for _ in 0..1 {
8 | -- first declared here
9 LL | // this 'x should refer to the outer loop, lexically
10 LL | loop_x!(break 'x);
11 | ----------------- in this macro invocation
12 |
13 = note: this warning originates in the macro `loop_x` (in Nightly builds, run with -Z macro-backtrace for more info)
14
15 warning: label name `'x` shadows a label name that is already in scope
16 --> $DIR/hygienic-labels.rs:54:5
17 |
18 LL | 'x: for _ in 0..1 {
19 | -- first declared here
20 ...
21 LL | 'x: loop {
22 | ^^ label `'x` already in scope
23
24 warning: label name `'x` shadows a label name that is already in scope
25 --> $DIR/hygienic-labels.rs:54:5
26 |
27 LL | 'x: loop { $e }
28 | -- first declared here
29 ...
30 LL | 'x: loop {
31 | ^^ label `'x` already in scope
32
33 warning: label name `'x` shadows a label name that is already in scope
34 --> $DIR/hygienic-labels.rs:13:9
35 |
36 LL | 'x: loop { $e }
37 | ^^ label `'x` already in scope
38 ...
39 LL | 'x: for _ in 0..1 {
40 | -- first declared here
41 ...
42 LL | loop_x!(break 'x);
43 | ----------------- in this macro invocation
44 |
45 = note: this warning originates in the macro `loop_x` (in Nightly builds, run with -Z macro-backtrace for more info)
46
47 warning: label name `'x` shadows a label name that is already in scope
48 --> $DIR/hygienic-labels.rs:13:9
49 |
50 LL | 'x: loop { $e }
51 | ^^
52 | |
53 | first declared here
54 | label `'x` already in scope
55 ...
56 LL | loop_x!(break 'x);
57 | ----------------- in this macro invocation
58 |
59 = note: this warning originates in the macro `loop_x` (in Nightly builds, run with -Z macro-backtrace for more info)
60
61 warning: label name `'x` shadows a label name that is already in scope
62 --> $DIR/hygienic-labels.rs:13:9
63 |
64 LL | 'x: loop { $e }
65 | ^^ label `'x` already in scope
66 ...
67 LL | 'x: loop {
68 | -- first declared here
69 ...
70 LL | loop_x!(break 'x);
71 | ----------------- in this macro invocation
72 |
73 = note: this warning originates in the macro `loop_x` (in Nightly builds, run with -Z macro-backtrace for more info)
74
75 warning: label name `'x` shadows a label name that is already in scope
76 --> $DIR/hygienic-labels.rs:63:5
77 |
78 LL | 'x: for _ in 0..1 {
79 | -- first declared here
80 ...
81 LL | 'x: while 1 + 1 == 2 {
82 | ^^ label `'x` already in scope
83
84 warning: label name `'x` shadows a label name that is already in scope
85 --> $DIR/hygienic-labels.rs:63:5
86 |
87 LL | 'x: loop { $e }
88 | -- first declared here
89 ...
90 LL | 'x: while 1 + 1 == 2 {
91 | ^^ label `'x` already in scope
92
93 warning: label name `'x` shadows a label name that is already in scope
94 --> $DIR/hygienic-labels.rs:63:5
95 |
96 LL | 'x: loop {
97 | -- first declared here
98 ...
99 LL | 'x: while 1 + 1 == 2 {
100 | ^^ label `'x` already in scope
101
102 warning: label name `'x` shadows a label name that is already in scope
103 --> $DIR/hygienic-labels.rs:63:5
104 |
105 LL | 'x: loop { $e }
106 | -- first declared here
107 ...
108 LL | 'x: while 1 + 1 == 2 {
109 | ^^ label `'x` already in scope
110
111 warning: label name `'x` shadows a label name that is already in scope
112 --> $DIR/hygienic-labels.rs:38:9
113 |
114 LL | 'x: while 1 + 1 == 2 { $e }
115 | ^^ label `'x` already in scope
116 ...
117 LL | 'x: for _ in 0..1 {
118 | -- first declared here
119 ...
120 LL | while_x!(break 'x);
121 | ------------------ in this macro invocation
122 |
123 = note: this warning originates in the macro `while_x` (in Nightly builds, run with -Z macro-backtrace for more info)
124
125 warning: label name `'x` shadows a label name that is already in scope
126 --> $DIR/hygienic-labels.rs:38:9
127 |
128 LL | 'x: loop { $e }
129 | -- first declared here
130 ...
131 LL | 'x: while 1 + 1 == 2 { $e }
132 | ^^ label `'x` already in scope
133 ...
134 LL | while_x!(break 'x);
135 | ------------------ in this macro invocation
136 |
137 = note: this warning originates in the macro `while_x` (in Nightly builds, run with -Z macro-backtrace for more info)
138
139 warning: label name `'x` shadows a label name that is already in scope
140 --> $DIR/hygienic-labels.rs:38:9
141 |
142 LL | 'x: while 1 + 1 == 2 { $e }
143 | ^^ label `'x` already in scope
144 ...
145 LL | 'x: loop {
146 | -- first declared here
147 ...
148 LL | while_x!(break 'x);
149 | ------------------ in this macro invocation
150 |
151 = note: this warning originates in the macro `while_x` (in Nightly builds, run with -Z macro-backtrace for more info)
152
153 warning: label name `'x` shadows a label name that is already in scope
154 --> $DIR/hygienic-labels.rs:38:9
155 |
156 LL | 'x: loop { $e }
157 | -- first declared here
158 ...
159 LL | 'x: while 1 + 1 == 2 { $e }
160 | ^^ label `'x` already in scope
161 ...
162 LL | while_x!(break 'x);
163 | ------------------ in this macro invocation
164 |
165 = note: this warning originates in the macro `while_x` (in Nightly builds, run with -Z macro-backtrace for more info)
166
167 warning: label name `'x` shadows a label name that is already in scope
168 --> $DIR/hygienic-labels.rs:38:9
169 |
170 LL | 'x: while 1 + 1 == 2 { $e }
171 | ^^ label `'x` already in scope
172 ...
173 LL | 'x: while 1 + 1 == 2 {
174 | -- first declared here
175 ...
176 LL | while_x!(break 'x);
177 | ------------------ in this macro invocation
178 |
179 = note: this warning originates in the macro `while_x` (in Nightly builds, run with -Z macro-backtrace for more info)
180
181 warning: label name `'x` shadows a label name that is already in scope
182 --> $DIR/hygienic-labels.rs:73:5
183 |
184 LL | 'x: for _ in 0..1 {
185 | -- first declared here
186 ...
187 LL | 'x: for _ in 0..1 {
188 | ^^ label `'x` already in scope
189
190 warning: label name `'x` shadows a label name that is already in scope
191 --> $DIR/hygienic-labels.rs:73:5
192 |
193 LL | 'x: loop { $e }
194 | -- first declared here
195 ...
196 LL | 'x: for _ in 0..1 {
197 | ^^ label `'x` already in scope
198
199 warning: label name `'x` shadows a label name that is already in scope
200 --> $DIR/hygienic-labels.rs:73:5
201 |
202 LL | 'x: loop {
203 | -- first declared here
204 ...
205 LL | 'x: for _ in 0..1 {
206 | ^^ label `'x` already in scope
207
208 warning: label name `'x` shadows a label name that is already in scope
209 --> $DIR/hygienic-labels.rs:73:5
210 |
211 LL | 'x: loop { $e }
212 | -- first declared here
213 ...
214 LL | 'x: for _ in 0..1 {
215 | ^^ label `'x` already in scope
216
217 warning: label name `'x` shadows a label name that is already in scope
218 --> $DIR/hygienic-labels.rs:73:5
219 |
220 LL | 'x: while 1 + 1 == 2 {
221 | -- first declared here
222 ...
223 LL | 'x: for _ in 0..1 {
224 | ^^ label `'x` already in scope
225
226 warning: label name `'x` shadows a label name that is already in scope
227 --> $DIR/hygienic-labels.rs:73:5
228 |
229 LL | 'x: while 1 + 1 == 2 { $e }
230 | -- first declared here
231 ...
232 LL | 'x: for _ in 0..1 {
233 | ^^ label `'x` already in scope
234
235 warning: label name `'x` shadows a label name that is already in scope
236 --> $DIR/hygienic-labels.rs:24:9
237 |
238 LL | 'x: for _ in 0..1 { $e }
239 | ^^ label `'x` already in scope
240 ...
241 LL | 'x: for _ in 0..1 {
242 | -- first declared here
243 ...
244 LL | run_once!(continue 'x);
245 | ---------------------- in this macro invocation
246 |
247 = note: this warning originates in the macro `run_once` (in Nightly builds, run with -Z macro-backtrace for more info)
248
249 warning: label name `'x` shadows a label name that is already in scope
250 --> $DIR/hygienic-labels.rs:24:9
251 |
252 LL | 'x: loop { $e }
253 | -- first declared here
254 ...
255 LL | 'x: for _ in 0..1 { $e }
256 | ^^ label `'x` already in scope
257 ...
258 LL | run_once!(continue 'x);
259 | ---------------------- in this macro invocation
260 |
261 = note: this warning originates in the macro `run_once` (in Nightly builds, run with -Z macro-backtrace for more info)
262
263 warning: label name `'x` shadows a label name that is already in scope
264 --> $DIR/hygienic-labels.rs:24:9
265 |
266 LL | 'x: for _ in 0..1 { $e }
267 | ^^ label `'x` already in scope
268 ...
269 LL | 'x: loop {
270 | -- first declared here
271 ...
272 LL | run_once!(continue 'x);
273 | ---------------------- in this macro invocation
274 |
275 = note: this warning originates in the macro `run_once` (in Nightly builds, run with -Z macro-backtrace for more info)
276
277 warning: label name `'x` shadows a label name that is already in scope
278 --> $DIR/hygienic-labels.rs:24:9
279 |
280 LL | 'x: loop { $e }
281 | -- first declared here
282 ...
283 LL | 'x: for _ in 0..1 { $e }
284 | ^^ label `'x` already in scope
285 ...
286 LL | run_once!(continue 'x);
287 | ---------------------- in this macro invocation
288 |
289 = note: this warning originates in the macro `run_once` (in Nightly builds, run with -Z macro-backtrace for more info)
290
291 warning: label name `'x` shadows a label name that is already in scope
292 --> $DIR/hygienic-labels.rs:24:9
293 |
294 LL | 'x: for _ in 0..1 { $e }
295 | ^^ label `'x` already in scope
296 ...
297 LL | 'x: while 1 + 1 == 2 {
298 | -- first declared here
299 ...
300 LL | run_once!(continue 'x);
301 | ---------------------- in this macro invocation
302 |
303 = note: this warning originates in the macro `run_once` (in Nightly builds, run with -Z macro-backtrace for more info)
304
305 warning: label name `'x` shadows a label name that is already in scope
306 --> $DIR/hygienic-labels.rs:24:9
307 |
308 LL | 'x: for _ in 0..1 { $e }
309 | ^^ label `'x` already in scope
310 ...
311 LL | 'x: while 1 + 1 == 2 { $e }
312 | -- first declared here
313 ...
314 LL | run_once!(continue 'x);
315 | ---------------------- in this macro invocation
316 |
317 = note: this warning originates in the macro `run_once` (in Nightly builds, run with -Z macro-backtrace for more info)
318
319 warning: label name `'x` shadows a label name that is already in scope
320 --> $DIR/hygienic-labels.rs:24:9
321 |
322 LL | 'x: for _ in 0..1 { $e }
323 | ^^ label `'x` already in scope
324 ...
325 LL | 'x: for _ in 0..1 {
326 | -- first declared here
327 ...
328 LL | run_once!(continue 'x);
329 | ---------------------- in this macro invocation
330 |
331 = note: this warning originates in the macro `run_once` (in Nightly builds, run with -Z macro-backtrace for more info)
332
333 warning: 28 warnings emitted
334