fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
693 B21 linesraw
1error[E0268]: `continue` outside of a loop
2  --> $DIR/closure-array-break-length.rs:2:13
3   |
4LL |     |_: [_; continue]| {};
5   |             ^^^^^^^^ cannot `continue` outside of a loop
6
7error[E0268]: `continue` outside of a loop
8  --> $DIR/closure-array-break-length.rs:4:19
9   |
10LL |     while |_: [_; continue]| {} {}
11   |                   ^^^^^^^^ cannot `continue` outside of a loop
12
13error[E0268]: `break` outside of a loop
14  --> $DIR/closure-array-break-length.rs:6:19
15   |
16LL |     while |_: [_; break]| {} {}
17   |                   ^^^^^ cannot `break` outside of a loop
18
19error: aborting due to 3 previous errors
20
21For more information about this error, try `rustc --explain E0268`.