]> git.lizzy.rs Git - rust.git/blob - tests/ui/unused_labels.stderr
Adapt the *.stderr files of the ui-tests to the tool_lints
[rust.git] / tests / ui / unused_labels.stderr
1 error: unused label `'label`
2   --> $DIR/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 clippy::unused-label` implied by `-D warnings`
10
11 error: unused label `'a`
12   --> $DIR/unused_labels.rs:21:5
13    |
14 21 |     'a: loop { break }
15    |     ^^^^^^^^^^^^^^^^^^
16
17 error: unused label `'same_label_in_two_fns`
18   --> $DIR/unused_labels.rs:32:5
19    |
20 32 | /     'same_label_in_two_fns: loop {
21 33 | |         let _ = 1;
22 34 | |     }
23    | |_____^
24
25 error: aborting due to 3 previous errors
26