@@ -2,7 +2,7 @@ warning: label name `'x` shadows a label name that is already in scope
2
2
--> $DIR/hygienic-labels-in-let.rs:16:9
3
3
|
4
4
LL | 'x: loop { $e }
5
- | ^^ lifetime 'x already in scope
5
+ | ^^ label `'x` already in scope
6
6
...
7
7
LL | 'x: loop {
8
8
| -- first declared here
@@ -19,7 +19,7 @@ LL | 'x: loop {
19
19
| -- first declared here
20
20
...
21
21
LL | 'x: for _ in 0..1 {
22
- | ^^ lifetime 'x already in scope
22
+ | ^^ label `'x` already in scope
23
23
24
24
warning: label name `'x` shadows a label name that is already in scope
25
25
--> $DIR/hygienic-labels-in-let.rs:64:9
@@ -28,13 +28,13 @@ LL | 'x: loop { $e }
28
28
| -- first declared here
29
29
...
30
30
LL | 'x: for _ in 0..1 {
31
- | ^^ lifetime 'x already in scope
31
+ | ^^ label `'x` already in scope
32
32
33
33
warning: label name `'x` shadows a label name that is already in scope
34
34
--> $DIR/hygienic-labels-in-let.rs:16:9
35
35
|
36
36
LL | 'x: loop { $e }
37
- | ^^ lifetime 'x already in scope
37
+ | ^^ label `'x` already in scope
38
38
...
39
39
LL | 'x: loop {
40
40
| -- first declared here
@@ -51,7 +51,7 @@ LL | 'x: loop { $e }
51
51
| ^^
52
52
| |
53
53
| first declared here
54
- | lifetime 'x already in scope
54
+ | label `'x` already in scope
55
55
...
56
56
LL | loop_x!(break 'x);
57
57
| ------------------ in this macro invocation
@@ -62,7 +62,7 @@ warning: label name `'x` shadows a label name that is already in scope
62
62
--> $DIR/hygienic-labels-in-let.rs:16:9
63
63
|
64
64
LL | 'x: loop { $e }
65
- | ^^ lifetime 'x already in scope
65
+ | ^^ label `'x` already in scope
66
66
...
67
67
LL | 'x: for _ in 0..1 {
68
68
| -- first declared here
@@ -79,7 +79,7 @@ LL | 'x: loop {
79
79
| -- first declared here
80
80
...
81
81
LL | 'x: for _ in 0..1 {
82
- | ^^ lifetime 'x already in scope
82
+ | ^^ label `'x` already in scope
83
83
84
84
warning: label name `'x` shadows a label name that is already in scope
85
85
--> $DIR/hygienic-labels-in-let.rs:76:9
@@ -88,7 +88,7 @@ LL | 'x: loop { $e }
88
88
| -- first declared here
89
89
...
90
90
LL | 'x: for _ in 0..1 {
91
- | ^^ lifetime 'x already in scope
91
+ | ^^ label `'x` already in scope
92
92
93
93
warning: label name `'x` shadows a label name that is already in scope
94
94
--> $DIR/hygienic-labels-in-let.rs:76:9
@@ -97,7 +97,7 @@ LL | 'x: for _ in 0..1 {
97
97
| -- first declared here
98
98
...
99
99
LL | 'x: for _ in 0..1 {
100
- | ^^ lifetime 'x already in scope
100
+ | ^^ label `'x` already in scope
101
101
102
102
warning: label name `'x` shadows a label name that is already in scope
103
103
--> $DIR/hygienic-labels-in-let.rs:76:9
@@ -106,13 +106,13 @@ LL | 'x: loop { $e }
106
106
| -- first declared here
107
107
...
108
108
LL | 'x: for _ in 0..1 {
109
- | ^^ lifetime 'x already in scope
109
+ | ^^ label `'x` already in scope
110
110
111
111
warning: label name `'x` shadows a label name that is already in scope
112
112
--> $DIR/hygienic-labels-in-let.rs:27:9
113
113
|
114
114
LL | 'x: while 1 + 1 == 2 { $e }
115
- | ^^ lifetime 'x already in scope
115
+ | ^^ label `'x` already in scope
116
116
...
117
117
LL | 'x: loop {
118
118
| -- first declared here
@@ -129,7 +129,7 @@ LL | 'x: loop { $e }
129
129
| -- first declared here
130
130
...
131
131
LL | 'x: while 1 + 1 == 2 { $e }
132
- | ^^ lifetime 'x already in scope
132
+ | ^^ label `'x` already in scope
133
133
...
134
134
LL | while_true!(break 'x);
135
135
| ---------------------- in this macro invocation
@@ -140,7 +140,7 @@ warning: label name `'x` shadows a label name that is already in scope
140
140
--> $DIR/hygienic-labels-in-let.rs:27:9
141
141
|
142
142
LL | 'x: while 1 + 1 == 2 { $e }
143
- | ^^ lifetime 'x already in scope
143
+ | ^^ label `'x` already in scope
144
144
...
145
145
LL | 'x: for _ in 0..1 {
146
146
| -- first declared here
@@ -157,7 +157,7 @@ LL | 'x: loop { $e }
157
157
| -- first declared here
158
158
...
159
159
LL | 'x: while 1 + 1 == 2 { $e }
160
- | ^^ lifetime 'x already in scope
160
+ | ^^ label `'x` already in scope
161
161
...
162
162
LL | while_true!(break 'x);
163
163
| ---------------------- in this macro invocation
@@ -168,7 +168,7 @@ warning: label name `'x` shadows a label name that is already in scope
168
168
--> $DIR/hygienic-labels-in-let.rs:27:9
169
169
|
170
170
LL | 'x: while 1 + 1 == 2 { $e }
171
- | ^^ lifetime 'x already in scope
171
+ | ^^ label `'x` already in scope
172
172
...
173
173
LL | 'x: for _ in 0..1 {
174
174
| -- first declared here
@@ -185,7 +185,7 @@ LL | 'x: loop {
185
185
| -- first declared here
186
186
...
187
187
LL | 'x: for _ in 0..1 {
188
- | ^^ lifetime 'x already in scope
188
+ | ^^ label `'x` already in scope
189
189
190
190
warning: label name `'x` shadows a label name that is already in scope
191
191
--> $DIR/hygienic-labels-in-let.rs:90:9
@@ -194,7 +194,7 @@ LL | 'x: loop { $e }
194
194
| -- first declared here
195
195
...
196
196
LL | 'x: for _ in 0..1 {
197
- | ^^ lifetime 'x already in scope
197
+ | ^^ label `'x` already in scope
198
198
199
199
warning: label name `'x` shadows a label name that is already in scope
200
200
--> $DIR/hygienic-labels-in-let.rs:90:9
@@ -203,7 +203,7 @@ LL | 'x: for _ in 0..1 {
203
203
| -- first declared here
204
204
...
205
205
LL | 'x: for _ in 0..1 {
206
- | ^^ lifetime 'x already in scope
206
+ | ^^ label `'x` already in scope
207
207
208
208
warning: label name `'x` shadows a label name that is already in scope
209
209
--> $DIR/hygienic-labels-in-let.rs:90:9
@@ -212,7 +212,7 @@ LL | 'x: loop { $e }
212
212
| -- first declared here
213
213
...
214
214
LL | 'x: for _ in 0..1 {
215
- | ^^ lifetime 'x already in scope
215
+ | ^^ label `'x` already in scope
216
216
217
217
warning: label name `'x` shadows a label name that is already in scope
218
218
--> $DIR/hygienic-labels-in-let.rs:90:9
@@ -221,7 +221,7 @@ LL | 'x: for _ in 0..1 {
221
221
| -- first declared here
222
222
...
223
223
LL | 'x: for _ in 0..1 {
224
- | ^^ lifetime 'x already in scope
224
+ | ^^ label `'x` already in scope
225
225
226
226
warning: label name `'x` shadows a label name that is already in scope
227
227
--> $DIR/hygienic-labels-in-let.rs:90:9
@@ -230,13 +230,13 @@ LL | 'x: while 1 + 1 == 2 { $e }
230
230
| -- first declared here
231
231
...
232
232
LL | 'x: for _ in 0..1 {
233
- | ^^ lifetime 'x already in scope
233
+ | ^^ label `'x` already in scope
234
234
235
235
warning: label name `'x` shadows a label name that is already in scope
236
236
--> $DIR/hygienic-labels-in-let.rs:39:9
237
237
|
238
238
LL | 'x: for _ in 0..1 { $e }
239
- | ^^ lifetime 'x already in scope
239
+ | ^^ label `'x` already in scope
240
240
...
241
241
LL | 'x: loop {
242
242
| -- first declared here
@@ -253,7 +253,7 @@ LL | 'x: loop { $e }
253
253
| -- first declared here
254
254
...
255
255
LL | 'x: for _ in 0..1 { $e }
256
- | ^^ lifetime 'x already in scope
256
+ | ^^ label `'x` already in scope
257
257
...
258
258
LL | run_once!(continue 'x);
259
259
| ----------------------- in this macro invocation
@@ -264,7 +264,7 @@ warning: label name `'x` shadows a label name that is already in scope
264
264
--> $DIR/hygienic-labels-in-let.rs:39:9
265
265
|
266
266
LL | 'x: for _ in 0..1 { $e }
267
- | ^^ lifetime 'x already in scope
267
+ | ^^ label `'x` already in scope
268
268
...
269
269
LL | 'x: for _ in 0..1 {
270
270
| -- first declared here
@@ -281,7 +281,7 @@ LL | 'x: loop { $e }
281
281
| -- first declared here
282
282
...
283
283
LL | 'x: for _ in 0..1 { $e }
284
- | ^^ lifetime 'x already in scope
284
+ | ^^ label `'x` already in scope
285
285
...
286
286
LL | run_once!(continue 'x);
287
287
| ----------------------- in this macro invocation
@@ -292,7 +292,7 @@ warning: label name `'x` shadows a label name that is already in scope
292
292
--> $DIR/hygienic-labels-in-let.rs:39:9
293
293
|
294
294
LL | 'x: for _ in 0..1 { $e }
295
- | ^^ lifetime 'x already in scope
295
+ | ^^ label `'x` already in scope
296
296
...
297
297
LL | 'x: for _ in 0..1 {
298
298
| -- first declared here
@@ -309,7 +309,7 @@ LL | 'x: while 1 + 1 == 2 { $e }
309
309
| -- first declared here
310
310
...
311
311
LL | 'x: for _ in 0..1 { $e }
312
- | ^^ lifetime 'x already in scope
312
+ | ^^ label `'x` already in scope
313
313
...
314
314
LL | run_once!(continue 'x);
315
315
| ----------------------- in this macro invocation
@@ -320,7 +320,7 @@ warning: label name `'x` shadows a label name that is already in scope
320
320
--> $DIR/hygienic-labels-in-let.rs:39:9
321
321
|
322
322
LL | 'x: for _ in 0..1 { $e }
323
- | ^^ lifetime 'x already in scope
323
+ | ^^ label `'x` already in scope
324
324
...
325
325
LL | 'x: for _ in 0..1 {
326
326
| -- first declared here
0 commit comments