1
Fork 0
rust/src/test/ui/parser/recover-labeled-non-block-expr.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
159 B
Rust
Raw Normal View History

2019-12-03 13:11:34 +01:00
fn main() {
'label: 1 + 1; //~ ERROR expected `while`, `for`, `loop` or `{` after a label
let _recovery_witness: () = 0; //~ ERROR mismatched types
}