]> git.lizzy.rs Git - rust.git/blob - clippy_tests/examples/unused_labels.stderr
Fix the test suite after cargo update
[rust.git] / clippy_tests / examples / unused_labels.stderr
1 error: unused label `'label`
2   --> unused_labels.rs:8:5
3    |
4 8  | /     'label: for i in 1..2 {
5 9  | |         if i > 4 { continue }
6 10 | |     }
7    | |_____^
8    |
9    = note: `-D unused-label` implied by `-D warnings`
10
11 error: unused label `'a`
12   --> unused_labels.rs:21:5
13    |
14 21 |     'a: loop { break }
15    |     ^^^^^^^^^^^^^^^^^^
16    |
17    = note: `-D unused-label` implied by `-D warnings`
18
19 error: unused label `'same_label_in_two_fns`
20   --> unused_labels.rs:32:5
21    |
22 32 | /     'same_label_in_two_fns: loop {
23 33 | |         let _ = 1;
24 34 | |     }
25    | |_____^
26    |
27    = note: `-D unused-label` implied by `-D warnings`
28
29 error: aborting due to previous error(s)
30
31
32 To learn more, run the command again with --verbose.