]> git.proxmox.com Git - rustc.git/blame - src/test/ui/array-break-length.stderr
New upstream version 1.35.0+dfsg1
[rustc.git] / src / test / ui / array-break-length.stderr
CommitLineData
8faf50e0 1error[E0268]: `break` outside of loop
0731742a 2 --> $DIR/array-break-length.rs:3:17
8faf50e0 3 |
532ac7d7 4LL | |_: [_; break]| {}
8faf50e0
XL
5 | ^^^^^ cannot break outside of a loop
6
7error[E0268]: `continue` outside of loop
0731742a 8 --> $DIR/array-break-length.rs:7:17
8faf50e0 9 |
532ac7d7 10LL | |_: [_; continue]| {}
8faf50e0
XL
11 | ^^^^^^^^ cannot break outside of a loop
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0268`.