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