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