mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
31 lines
622 B
Plaintext
31 lines
622 B
Plaintext
error: unused label `'label`
|
|
--> $DIR/unused_labels.rs:14:5
|
|
|
|
|
14 | / 'label: for i in 1..2 {
|
|
15 | | if i > 4 {
|
|
16 | | continue;
|
|
17 | | }
|
|
18 | | }
|
|
| |_____^
|
|
|
|
|
= note: `-D clippy::unused-label` implied by `-D warnings`
|
|
|
|
error: unused label `'a`
|
|
--> $DIR/unused_labels.rs:28:5
|
|
|
|
|
28 | / 'a: loop {
|
|
29 | | break;
|
|
30 | | }
|
|
| |_____^
|
|
|
|
error: unused label `'same_label_in_two_fns`
|
|
--> $DIR/unused_labels.rs:41:5
|
|
|
|
|
41 | / 'same_label_in_two_fns: loop {
|
|
42 | | let _ = 1;
|
|
43 | | }
|
|
| |_____^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|