1 error[E0426]: use of undeclared label `'L`
2 --> $DIR/issue-50576.rs:12:23
4 LL | |bool: [u8; break 'L]| 0;
5 | ^^ undeclared label `'L`
7 error[E0268]: `break` outside of loop
8 --> $DIR/issue-50576.rs:12:17
10 LL | |bool: [u8; break 'L]| 0;
11 | ^^^^^^^^ cannot break outside of a loop
13 error[E0268]: `break` outside of loop
14 --> $DIR/issue-50576.rs:15:16
16 LL | Vec::<[u8; break]>::new(); //~ ERROR [E0268]
17 | ^^^^^ cannot break outside of a loop
19 error: aborting due to 3 previous errors
21 Some errors occurred: E0268, E0426.
22 For more information about an error, try `rustc --explain E0268`.