1 error[E0268]: `continue` outside of loop
2 --> $DIR/closure-array-break-length.rs:12:13
4 LL | |_: [_; continue]| {}; //~ ERROR: `continue` outside of loop
5 | ^^^^^^^^ cannot break outside of a loop
7 error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
8 --> $DIR/closure-array-break-length.rs:14:19
10 LL | while |_: [_; continue]| {} {} //~ ERROR: `break` or `continue` with no label
11 | ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop
13 error[E0268]: `continue` outside of loop
14 --> $DIR/closure-array-break-length.rs:14:19
16 LL | while |_: [_; continue]| {} {} //~ ERROR: `break` or `continue` with no label
17 | ^^^^^^^^ cannot break outside of a loop
19 error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
20 --> $DIR/closure-array-break-length.rs:17:19
22 LL | while |_: [_; break]| {} {} //~ ERROR: `break` or `continue` with no label
23 | ^^^^^ unlabeled `break` in the condition of a `while` loop
25 error[E0268]: `break` outside of loop
26 --> $DIR/closure-array-break-length.rs:17:19
28 LL | while |_: [_; break]| {} {} //~ ERROR: `break` or `continue` with no label
29 | ^^^^^ cannot break outside of a loop
31 error: aborting due to 5 previous errors
33 Some errors occurred: E0268, E0590.
34 For more information about an error, try `rustc --explain E0268`.