]> git.lizzy.rs Git - rust.git/blob - tests/ui/unused_labels.stderr
Merge branch 'master' into rustfmt_tests
[rust.git] / tests / ui / unused_labels.stderr
1 error: unused label `'label`
2   --> $DIR/unused_labels.rs:14:5
3    |
4 14 | /     'label: for i in 1..2 {
5 15 | |         if i > 4 {
6 16 | |             continue;
7 17 | |         }
8 18 | |     }
9    | |_____^
10    |
11    = note: `-D clippy::unused-label` implied by `-D warnings`
12
13 error: unused label `'a`
14   --> $DIR/unused_labels.rs:28:5
15    |
16 28 | /     'a: loop {
17 29 | |         break;
18 30 | |     }
19    | |_____^
20
21 error: unused label `'same_label_in_two_fns`
22   --> $DIR/unused_labels.rs:41:5
23    |
24 41 | /     'same_label_in_two_fns: loop {
25 42 | |         let _ = 1;
26 43 | |     }
27    | |_____^
28
29 error: aborting due to 3 previous errors
30