rust-clippy/tests/ui/unused_labels.stderr

27 lines
564 B
Text
Raw Normal View History

error: unused label `'label`
2017-08-01 15:54:21 +00:00
--> $DIR/unused_labels.rs:8:5
|
8 | / 'label: for i in 1..2 {
9 | | if i > 4 { continue }
10 | | }
| |_____^
|
= note: `-D unused-label` implied by `-D warnings`
error: unused label `'a`
2017-08-01 15:54:21 +00:00
--> $DIR/unused_labels.rs:21:5
|
2017-02-08 13:58:07 +00:00
21 | 'a: loop { break }
| ^^^^^^^^^^^^^^^^^^
error: unused label `'same_label_in_two_fns`
2017-08-01 15:54:21 +00:00
--> $DIR/unused_labels.rs:32:5
|
32 | / 'same_label_in_two_fns: loop {
33 | | let _ = 1;
34 | | }
| |_____^
2018-01-16 16:06:27 +00:00
error: aborting due to 3 previous errors