rustc/tests/ui/parser/match-arrows-block-then-binop.rs
2023-08-02 10:33:26 +02:00

8 lines
116 B
Rust

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