fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1warning: unused label 2 --> $DIR/unused_labels.rs:11:5 3 | 4LL | 'unused_while_label: while 0 == 0 { 5 | ^^^^^^^^^^^^^^^^^^^ 6 | 7note: the lint level is defined here 8 --> $DIR/unused_labels.rs:8:9 9 | 10LL | #![warn(unused_labels)] 11 | ^^^^^^^^^^^^^ 12 13warning: unused label 14 --> $DIR/unused_labels.rs:16:5 15 | 16LL | 'unused_while_let_label: while let Some(_) = opt { 17 | ^^^^^^^^^^^^^^^^^^^^^^^ 18 19warning: unused label 20 --> $DIR/unused_labels.rs:20:5 21 | 22LL | 'unused_for_label: for _ in 0..10 { 23 | ^^^^^^^^^^^^^^^^^ 24 25warning: unused label 26 --> $DIR/unused_labels.rs:36:9 27 | 28LL | 'unused_loop_label_inner_2: for _ in 0..10 { 29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 30 31warning: unused label 32 --> $DIR/unused_labels.rs:42:5 33 | 34LL | 'unused_loop_label_outer_3: for _ in 0..10 { 35 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 36 37warning: unused label 38 --> $DIR/unused_labels.rs:60:5 39 | 40LL | 'many_used_shadowed: for _ in 0..10 { 41 | ^^^^^^^^^^^^^^^^^^^ 42 43warning: unused label 44 --> $DIR/unused_labels.rs:72:5 45 | 46LL | 'unused_loop_label: loop { 47 | ^^^^^^^^^^^^^^^^^^ 48 49warning: unused label 50 --> $DIR/unused_labels.rs:78:5 51 | 52LL | 'unused_block_label: { 53 | ^^^^^^^^^^^^^^^^^^^ 54 55warning: label name `'many_used_shadowed` shadows a label name that is already in scope 56 --> $DIR/unused_labels.rs:62:9 57 | 58LL | 'many_used_shadowed: for _ in 0..10 { 59 | ------------------- first declared here 60LL | 61LL | 'many_used_shadowed: for _ in 0..10 { 62 | ^^^^^^^^^^^^^^^^^^^ lifetime 'many_used_shadowed already in scope 63