]> git.lizzy.rs Git - rust.git/blob - src/test/ui/label/label_break_value_continue.stderr
Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup
[rust.git] / src / test / ui / label / label_break_value_continue.stderr
1 error[E0695]: unlabeled `continue` inside of a labeled block
2   --> $DIR/label_break_value_continue.rs:7:9
3    |
4 LL |         continue;
5    |         ^^^^^^^^ `continue` statements that would diverge to or through a labeled block need to bear a label
6
7 error[E0696]: `continue` pointing to a labeled block
8   --> $DIR/label_break_value_continue.rs:14:9
9    |
10 LL | /     'b: {
11 LL | |         continue 'b;
12    | |         ^^^^^^^^^^^ labeled blocks cannot be `continue`'d
13 LL | |     }
14    | |_____- labeled block the `continue` points to
15
16 error[E0695]: unlabeled `continue` inside of a labeled block
17   --> $DIR/label_break_value_continue.rs:22:13
18    |
19 LL |             continue;
20    |             ^^^^^^^^ `continue` statements that would diverge to or through a labeled block need to bear a label
21
22 error: aborting due to 3 previous errors
23
24 Some errors have detailed explanations: E0695, E0696.
25 For more information about an error, try `rustc --explain E0695`.