]> git.proxmox.com Git - rustc.git/blame - src/test/ui/loops/loops-reject-duplicate-labels.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / loops / loops-reject-duplicate-labels.stderr
CommitLineData
ff7c6d11 1warning: 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 4LL | 'fl: for _ in 0..10 { break; }
ff7c6d11 5 | --- first declared here
532ac7d7 6LL | 'fl: loop { break; }
ff7c6d11
XL
7 | ^^^ lifetime 'fl already in scope
8
9warning: 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 12LL | 'lf: loop { break; }
ff7c6d11 13 | --- first declared here
532ac7d7 14LL | 'lf: for _ in 0..10 { break; }
ff7c6d11
XL
15 | ^^^ lifetime 'lf already in scope
16
17warning: 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 20LL | 'wl: while 2 > 1 { break; }
ff7c6d11 21 | --- first declared here
532ac7d7 22LL | 'wl: loop { break; }
ff7c6d11
XL
23 | ^^^ lifetime 'wl already in scope
24
25warning: 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 28LL | 'lw: loop { break; }
ff7c6d11 29 | --- first declared here
532ac7d7 30LL | 'lw: while 2 > 1 { break; }
ff7c6d11
XL
31 | ^^^ lifetime 'lw already in scope
32
33warning: 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 36LL | 'fw: for _ in 0..10 { break; }
ff7c6d11 37 | --- first declared here
532ac7d7 38LL | 'fw: while 2 > 1 { break; }
ff7c6d11
XL
39 | ^^^ lifetime 'fw already in scope
40
41warning: 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 44LL | 'wf: while 2 > 1 { break; }
ff7c6d11 45 | --- first declared here
532ac7d7 46LL | 'wf: for _ in 0..10 { break; }
ff7c6d11
XL
47 | ^^^ lifetime 'wf already in scope
48
49warning: 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 52LL | 'tl: while let Some(_) = None::<i32> { break; }
ff7c6d11 53 | --- first declared here
532ac7d7 54LL | 'tl: loop { break; }
ff7c6d11
XL
55 | ^^^ lifetime 'tl already in scope
56
57warning: 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 60LL | 'lt: loop { break; }
ff7c6d11 61 | --- first declared here
0531ce1d 62LL | 'lt: while let Some(_) = None::<i32> { break; }
ff7c6d11
XL
63 | ^^^ lifetime 'lt already in scope
64
72b1a166
FG
65warning: 8 warnings emitted
66