fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
2.2 KiB64 linesraw
1warning: label name `'fl` shadows a label name that is already in scope
2  --> $DIR/loops-reject-duplicate-labels.rs:11:5
3   |
4LL |     'fl: for _ in 0..10 { break; }
5   |     --- first declared here
6LL |     'fl: loop { break; }
7   |     ^^^ lifetime 'fl already in scope
8
9warning: label name `'lf` shadows a label name that is already in scope
10  --> $DIR/loops-reject-duplicate-labels.rs:14:5
11   |
12LL |     'lf: loop { break; }
13   |     --- first declared here
14LL |     'lf: for _ in 0..10 { break; }
15   |     ^^^ lifetime 'lf already in scope
16
17warning: label name `'wl` shadows a label name that is already in scope
18  --> $DIR/loops-reject-duplicate-labels.rs:16:5
19   |
20LL |     'wl: while 2 > 1 { break; }
21   |     --- first declared here
22LL |     'wl: loop { break; }
23   |     ^^^ lifetime 'wl already in scope
24
25warning: label name `'lw` shadows a label name that is already in scope
26  --> $DIR/loops-reject-duplicate-labels.rs:18:5
27   |
28LL |     'lw: loop { break; }
29   |     --- first declared here
30LL |     'lw: while 2 > 1 { break; }
31   |     ^^^ lifetime 'lw already in scope
32
33warning: label name `'fw` shadows a label name that is already in scope
34  --> $DIR/loops-reject-duplicate-labels.rs:20:5
35   |
36LL |     'fw: for _ in 0..10 { break; }
37   |     --- first declared here
38LL |     'fw: while 2 > 1 { break; }
39   |     ^^^ lifetime 'fw already in scope
40
41warning: label name `'wf` shadows a label name that is already in scope
42  --> $DIR/loops-reject-duplicate-labels.rs:22:5
43   |
44LL |     'wf: while 2 > 1 { break; }
45   |     --- first declared here
46LL |     'wf: for _ in 0..10 { break; }
47   |     ^^^ lifetime 'wf already in scope
48
49warning: label name `'tl` shadows a label name that is already in scope
50  --> $DIR/loops-reject-duplicate-labels.rs:24:5
51   |
52LL |     'tl: while let Some(_) = None::<i32> { break; }
53   |     --- first declared here
54LL |     'tl: loop { break; }
55   |     ^^^ lifetime 'tl already in scope
56
57warning: label name `'lt` shadows a label name that is already in scope
58  --> $DIR/loops-reject-duplicate-labels.rs:26:5
59   |
60LL |     'lt: loop { break; }
61   |     --- first declared here
62LL |     'lt: while let Some(_) = None::<i32> { break; }
63   |     ^^^ lifetime 'lt already in scope
64