fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
898 B24 linesraw
1error[E0695]: unlabeled `continue` inside of a labeled block
2  --> $DIR/label_break_value_continue.rs:7:9
3   |
4LL |         continue;
5   |         ^^^^^^^^ `continue` statements that would diverge to or through a labeled block need to bear a label
6
7error[E0696]: `continue` pointing to a labeled block
8  --> $DIR/label_break_value_continue.rs:14:9
9   |
10LL | /     'b: {
11LL | |         continue 'b;
12   | |         ^^^^^^^^^^^ labeled blocks cannot be `continue`'d
13LL | |     }
14   | |_____- labeled block the `continue` points to
15
16error[E0695]: unlabeled `continue` inside of a labeled block
17  --> $DIR/label_break_value_continue.rs:22:13
18   |
19LL |             continue;
20   |             ^^^^^^^^ `continue` statements that would diverge to or through a labeled block need to bear a label
21
22error: aborting due to 3 previous errors
23
24For more information about this error, try `rustc --explain E0695`.