rust/tests/ui/parser/match-arrows-block-then-binop.rs
2023-01-11 09:32:08 +00:00

7 lines
116 B
Rust

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