@@ -2,7 +2,7 @@ warning: label name `'x` shadows a label name that is already in scope
22 --> $DIR/hygienic-labels-in-let.rs:16:9
33 |
44LL | 'x: loop { $e }
5- | ^^ lifetime 'x already in scope
5+ | ^^ label `'x` already in scope
66...
77LL | 'x: loop {
88 | -- first declared here
@@ -19,7 +19,7 @@ LL | 'x: loop {
1919 | -- first declared here
2020...
2121LL | 'x: for _ in 0..1 {
22- | ^^ lifetime 'x already in scope
22+ | ^^ label `'x` already in scope
2323
2424warning: label name `'x` shadows a label name that is already in scope
2525 --> $DIR/hygienic-labels-in-let.rs:64:9
@@ -28,13 +28,13 @@ LL | 'x: loop { $e }
2828 | -- first declared here
2929...
3030LL | 'x: for _ in 0..1 {
31- | ^^ lifetime 'x already in scope
31+ | ^^ label `'x` already in scope
3232
3333warning: label name `'x` shadows a label name that is already in scope
3434 --> $DIR/hygienic-labels-in-let.rs:16:9
3535 |
3636LL | 'x: loop { $e }
37- | ^^ lifetime 'x already in scope
37+ | ^^ label `'x` already in scope
3838...
3939LL | 'x: loop {
4040 | -- first declared here
@@ -51,7 +51,7 @@ LL | 'x: loop { $e }
5151 | ^^
5252 | |
5353 | first declared here
54- | lifetime 'x already in scope
54+ | label `'x` already in scope
5555...
5656LL | loop_x!(break 'x);
5757 | ------------------ in this macro invocation
@@ -62,7 +62,7 @@ warning: label name `'x` shadows a label name that is already in scope
6262 --> $DIR/hygienic-labels-in-let.rs:16:9
6363 |
6464LL | 'x: loop { $e }
65- | ^^ lifetime 'x already in scope
65+ | ^^ label `'x` already in scope
6666...
6767LL | 'x: for _ in 0..1 {
6868 | -- first declared here
@@ -79,7 +79,7 @@ LL | 'x: loop {
7979 | -- first declared here
8080...
8181LL | 'x: for _ in 0..1 {
82- | ^^ lifetime 'x already in scope
82+ | ^^ label `'x` already in scope
8383
8484warning: label name `'x` shadows a label name that is already in scope
8585 --> $DIR/hygienic-labels-in-let.rs:76:9
@@ -88,7 +88,7 @@ LL | 'x: loop { $e }
8888 | -- first declared here
8989...
9090LL | 'x: for _ in 0..1 {
91- | ^^ lifetime 'x already in scope
91+ | ^^ label `'x` already in scope
9292
9393warning: label name `'x` shadows a label name that is already in scope
9494 --> $DIR/hygienic-labels-in-let.rs:76:9
@@ -97,7 +97,7 @@ LL | 'x: for _ in 0..1 {
9797 | -- first declared here
9898...
9999LL | 'x: for _ in 0..1 {
100- | ^^ lifetime 'x already in scope
100+ | ^^ label `'x` already in scope
101101
102102warning: label name `'x` shadows a label name that is already in scope
103103 --> $DIR/hygienic-labels-in-let.rs:76:9
@@ -106,13 +106,13 @@ LL | 'x: loop { $e }
106106 | -- first declared here
107107...
108108LL | 'x: for _ in 0..1 {
109- | ^^ lifetime 'x already in scope
109+ | ^^ label `'x` already in scope
110110
111111warning: label name `'x` shadows a label name that is already in scope
112112 --> $DIR/hygienic-labels-in-let.rs:27:9
113113 |
114114LL | 'x: while 1 + 1 == 2 { $e }
115- | ^^ lifetime 'x already in scope
115+ | ^^ label `'x` already in scope
116116...
117117LL | 'x: loop {
118118 | -- first declared here
@@ -129,7 +129,7 @@ LL | 'x: loop { $e }
129129 | -- first declared here
130130...
131131LL | 'x: while 1 + 1 == 2 { $e }
132- | ^^ lifetime 'x already in scope
132+ | ^^ label `'x` already in scope
133133...
134134LL | while_true!(break 'x);
135135 | ---------------------- in this macro invocation
@@ -140,7 +140,7 @@ warning: label name `'x` shadows a label name that is already in scope
140140 --> $DIR/hygienic-labels-in-let.rs:27:9
141141 |
142142LL | 'x: while 1 + 1 == 2 { $e }
143- | ^^ lifetime 'x already in scope
143+ | ^^ label `'x` already in scope
144144...
145145LL | 'x: for _ in 0..1 {
146146 | -- first declared here
@@ -157,7 +157,7 @@ LL | 'x: loop { $e }
157157 | -- first declared here
158158...
159159LL | 'x: while 1 + 1 == 2 { $e }
160- | ^^ lifetime 'x already in scope
160+ | ^^ label `'x` already in scope
161161...
162162LL | while_true!(break 'x);
163163 | ---------------------- in this macro invocation
@@ -168,7 +168,7 @@ warning: label name `'x` shadows a label name that is already in scope
168168 --> $DIR/hygienic-labels-in-let.rs:27:9
169169 |
170170LL | 'x: while 1 + 1 == 2 { $e }
171- | ^^ lifetime 'x already in scope
171+ | ^^ label `'x` already in scope
172172...
173173LL | 'x: for _ in 0..1 {
174174 | -- first declared here
@@ -185,7 +185,7 @@ LL | 'x: loop {
185185 | -- first declared here
186186...
187187LL | 'x: for _ in 0..1 {
188- | ^^ lifetime 'x already in scope
188+ | ^^ label `'x` already in scope
189189
190190warning: label name `'x` shadows a label name that is already in scope
191191 --> $DIR/hygienic-labels-in-let.rs:90:9
@@ -194,7 +194,7 @@ LL | 'x: loop { $e }
194194 | -- first declared here
195195...
196196LL | 'x: for _ in 0..1 {
197- | ^^ lifetime 'x already in scope
197+ | ^^ label `'x` already in scope
198198
199199warning: label name `'x` shadows a label name that is already in scope
200200 --> $DIR/hygienic-labels-in-let.rs:90:9
@@ -203,7 +203,7 @@ LL | 'x: for _ in 0..1 {
203203 | -- first declared here
204204...
205205LL | 'x: for _ in 0..1 {
206- | ^^ lifetime 'x already in scope
206+ | ^^ label `'x` already in scope
207207
208208warning: label name `'x` shadows a label name that is already in scope
209209 --> $DIR/hygienic-labels-in-let.rs:90:9
@@ -212,7 +212,7 @@ LL | 'x: loop { $e }
212212 | -- first declared here
213213...
214214LL | 'x: for _ in 0..1 {
215- | ^^ lifetime 'x already in scope
215+ | ^^ label `'x` already in scope
216216
217217warning: label name `'x` shadows a label name that is already in scope
218218 --> $DIR/hygienic-labels-in-let.rs:90:9
@@ -221,7 +221,7 @@ LL | 'x: for _ in 0..1 {
221221 | -- first declared here
222222...
223223LL | 'x: for _ in 0..1 {
224- | ^^ lifetime 'x already in scope
224+ | ^^ label `'x` already in scope
225225
226226warning: label name `'x` shadows a label name that is already in scope
227227 --> $DIR/hygienic-labels-in-let.rs:90:9
@@ -230,13 +230,13 @@ LL | 'x: while 1 + 1 == 2 { $e }
230230 | -- first declared here
231231...
232232LL | 'x: for _ in 0..1 {
233- | ^^ lifetime 'x already in scope
233+ | ^^ label `'x` already in scope
234234
235235warning: label name `'x` shadows a label name that is already in scope
236236 --> $DIR/hygienic-labels-in-let.rs:39:9
237237 |
238238LL | 'x: for _ in 0..1 { $e }
239- | ^^ lifetime 'x already in scope
239+ | ^^ label `'x` already in scope
240240...
241241LL | 'x: loop {
242242 | -- first declared here
@@ -253,7 +253,7 @@ LL | 'x: loop { $e }
253253 | -- first declared here
254254...
255255LL | 'x: for _ in 0..1 { $e }
256- | ^^ lifetime 'x already in scope
256+ | ^^ label `'x` already in scope
257257...
258258LL | run_once!(continue 'x);
259259 | ----------------------- in this macro invocation
@@ -264,7 +264,7 @@ warning: label name `'x` shadows a label name that is already in scope
264264 --> $DIR/hygienic-labels-in-let.rs:39:9
265265 |
266266LL | 'x: for _ in 0..1 { $e }
267- | ^^ lifetime 'x already in scope
267+ | ^^ label `'x` already in scope
268268...
269269LL | 'x: for _ in 0..1 {
270270 | -- first declared here
@@ -281,7 +281,7 @@ LL | 'x: loop { $e }
281281 | -- first declared here
282282...
283283LL | 'x: for _ in 0..1 { $e }
284- | ^^ lifetime 'x already in scope
284+ | ^^ label `'x` already in scope
285285...
286286LL | run_once!(continue 'x);
287287 | ----------------------- in this macro invocation
@@ -292,7 +292,7 @@ warning: label name `'x` shadows a label name that is already in scope
292292 --> $DIR/hygienic-labels-in-let.rs:39:9
293293 |
294294LL | 'x: for _ in 0..1 { $e }
295- | ^^ lifetime 'x already in scope
295+ | ^^ label `'x` already in scope
296296...
297297LL | 'x: for _ in 0..1 {
298298 | -- first declared here
@@ -309,7 +309,7 @@ LL | 'x: while 1 + 1 == 2 { $e }
309309 | -- first declared here
310310...
311311LL | 'x: for _ in 0..1 { $e }
312- | ^^ lifetime 'x already in scope
312+ | ^^ label `'x` already in scope
313313...
314314LL | run_once!(continue 'x);
315315 | ----------------------- in this macro invocation
@@ -320,7 +320,7 @@ warning: label name `'x` shadows a label name that is already in scope
320320 --> $DIR/hygienic-labels-in-let.rs:39:9
321321 |
322322LL | 'x: for _ in 0..1 { $e }
323- | ^^ lifetime 'x already in scope
323+ | ^^ label `'x` already in scope
324324...
325325LL | 'x: for _ in 0..1 {
326326 | -- first declared here
0 commit comments