]> git.proxmox.com Git - rustc.git/blob - tests/ui/closures/closure-array-break-length.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / closures / closure-array-break-length.stderr
1 error[E0268]: `continue` outside of a loop
2 --> $DIR/closure-array-break-length.rs:2:13
3 |
4 LL | |_: [_; continue]| {};
5 | ^^^^^^^^ cannot `continue` outside of a loop
6
7 error[E0268]: `continue` outside of a loop
8 --> $DIR/closure-array-break-length.rs:4:19
9 |
10 LL | while |_: [_; continue]| {} {}
11 | ^^^^^^^^ cannot `continue` outside of a loop
12
13 error[E0268]: `break` outside of a loop or labeled block
14 --> $DIR/closure-array-break-length.rs:6:19
15 |
16 LL | while |_: [_; break]| {} {}
17 | ^^^^^ cannot `break` outside of a loop or labeled block
18
19 error: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0268`.