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