fork/rust

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

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

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