fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
604 B17 linesraw
1error: expected `while`, `for`, `loop` or `{` after a label
2  --> $DIR/recover-labeled-non-block-expr.rs:2:13
3   |
4LL |     'label: 1 + 1;
5   |             ^ expected `while`, `for`, `loop` or `{` after a label
6
7error[E0308]: mismatched types
8  --> $DIR/recover-labeled-non-block-expr.rs:4:33
9   |
10LL |     let _recovery_witness: () = 0;
11   |                            --   ^ expected `()`, found integer
12   |                            |
13   |                            expected due to this
14
15error: aborting due to 2 previous errors
16
17For more information about this error, try `rustc --explain E0308`.