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