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