fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
982 B29 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 |         continue 'b;
11   |         ^^^^^^^^^^^ labeled blocks cannot be `continue`'d
12   |
13note: labeled block the continue points to
14  --> $DIR/label_break_value_continue.rs:13:5
15   |
16LL | /     'b: {
17LL | |         continue 'b;
18LL | |     }
19   | |_____^
20
21error[E0695]: unlabeled `continue` inside of a labeled block
22  --> $DIR/label_break_value_continue.rs:22:13
23   |
24LL |             continue;
25   |             ^^^^^^^^ `continue` statements that would diverge to or through a labeled block need to bear a label
26
27error: aborting due to 3 previous errors
28
29For more information about this error, try `rustc --explain E0695`.