rust/tests/ui/parser/match-arrows-block-then-bin...

8 lines
116 B
Rust

fn main() {
let _ = match 0 {
0 => {
0
} + 5 //~ ERROR expected pattern, found `+`
};
}