fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

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