rust/tests/ui/unused_labels.stderr

31 lines
621 B
Plaintext
Raw Normal View History

error: unused label `'label`
--> $DIR/unused_labels.rs:5:5
|
2018-12-27 09:57:55 -06:00
LL | / 'label: for i in 1..2 {
LL | | if i > 4 {
LL | | continue;
LL | | }
LL | | }
| |_____^
|
= note: `-D clippy::unused-label` implied by `-D warnings`
error: unused label `'a`
--> $DIR/unused_labels.rs:19:5
|
2018-12-27 09:57:55 -06:00
LL | / 'a: loop {
LL | | break;
LL | | }
2018-12-09 23:27:19 -06:00
| |_____^
error: unused label `'same_label_in_two_fns`
--> $DIR/unused_labels.rs:32:5
|
2018-12-27 09:57:55 -06:00
LL | / 'same_label_in_two_fns: loop {
LL | | let _ = 1;
LL | | }
| |_____^
2018-01-16 10:06:27 -06:00
error: aborting due to 3 previous errors