1 warning: label name `'many_used_shadowed` shadows a label name that is already in scope
2 --> $DIR/unused_labels.rs:62:9
4 LL | 'many_used_shadowed: for _ in 0..10 {
5 | ------------------- first declared here
7 LL | 'many_used_shadowed: for _ in 0..10 {
8 | ^^^^^^^^^^^^^^^^^^^ label `'many_used_shadowed` already in scope
10 warning: label name `'many_used_shadowed` shadows a label name that is already in scope
11 --> $DIR/unused_labels.rs:62:9
13 LL | 'many_used_shadowed: for _ in 0..10 {
14 | ------------------- first declared here
16 LL | 'many_used_shadowed: for _ in 0..10 {
17 | ^^^^^^^^^^^^^^^^^^^ label `'many_used_shadowed` already in scope
20 --> $DIR/unused_labels.rs:11:5
22 LL | 'unused_while_label: while 0 == 0 {
25 note: the lint level is defined here
26 --> $DIR/unused_labels.rs:8:9
28 LL | #![warn(unused_labels)]
32 --> $DIR/unused_labels.rs:16:5
34 LL | 'unused_while_let_label: while let Some(_) = opt {
35 | ^^^^^^^^^^^^^^^^^^^^^^^
38 --> $DIR/unused_labels.rs:20:5
40 LL | 'unused_for_label: for _ in 0..10 {
44 --> $DIR/unused_labels.rs:36:9
46 LL | 'unused_loop_label_inner_2: for _ in 0..10 {
47 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
50 --> $DIR/unused_labels.rs:42:5
52 LL | 'unused_loop_label_outer_3: for _ in 0..10 {
53 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
56 --> $DIR/unused_labels.rs:60:5
58 LL | 'many_used_shadowed: for _ in 0..10 {
62 --> $DIR/unused_labels.rs:73:5
64 LL | 'unused_loop_label: loop {
68 --> $DIR/unused_labels.rs:79:5
70 LL | 'unused_block_label: {
73 warning: 10 warnings emitted