fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

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