]>
Commit | Line | Data |
---|---|---|
94b46f34 | 1 | error[E0426]: use of undeclared label `'L` |
0731742a | 2 | --> $DIR/issue-50576.rs:2:23 |
94b46f34 XL |
3 | | |
4 | LL | |bool: [u8; break 'L]| 0; | |
5 | | ^^ undeclared label `'L` | |
6 | ||
e1599b0c | 7 | error[E0268]: `break` outside of a loop |
0731742a | 8 | --> $DIR/issue-50576.rs:2:17 |
94b46f34 XL |
9 | | |
10 | LL | |bool: [u8; break 'L]| 0; | |
e1599b0c | 11 | | ^^^^^^^^ cannot `break` outside of a loop |
94b46f34 | 12 | |
e1599b0c | 13 | error[E0268]: `break` outside of a loop |
0731742a | 14 | --> $DIR/issue-50576.rs:5:16 |
94b46f34 | 15 | | |
532ac7d7 | 16 | LL | Vec::<[u8; break]>::new(); |
e1599b0c | 17 | | ^^^^^ cannot `break` outside of a loop |
94b46f34 XL |
18 | |
19 | error: aborting due to 3 previous errors | |
20 | ||
48663c56 | 21 | Some errors have detailed explanations: E0268, E0426. |
94b46f34 | 22 | For more information about an error, try `rustc --explain E0268`. |