error: unused label `'label`
- --> $DIR/unused_labels.rs:8:5
+ --> $DIR/unused_labels.rs:5:5
|
-8 | / 'label: for i in 1..2 {
-9 | | if i > 4 { continue }
-10 | | }
+LL | / 'label: for i in 1..2 {
+LL | | if i > 4 {
+LL | | continue;
+LL | | }
+LL | | }
| |_____^
|
- = note: `-D unused-label` implied by `-D warnings`
+ = note: `-D clippy::unused-label` implied by `-D warnings`
error: unused label `'a`
- --> $DIR/unused_labels.rs:21:5
+ --> $DIR/unused_labels.rs:19:5
|
-21 | 'a: loop { break }
- | ^^^^^^^^^^^^^^^^^^
+LL | / 'a: loop {
+LL | | break;
+LL | | }
+ | |_____^
error: unused label `'same_label_in_two_fns`
--> $DIR/unused_labels.rs:32:5
|
-32 | / 'same_label_in_two_fns: loop {
-33 | | let _ = 1;
-34 | | }
+LL | / 'same_label_in_two_fns: loop {
+LL | | let _ = 1;
+LL | | }
| |_____^
+error: aborting due to 3 previous errors
+