rust/tests/ui/parser/issues/recover-ge-as-fat-arrow.rs
Esteban Küber f830fe313b Detect more => typos
Handle and recover `match expr { pat >= { arm } }`.
2023-11-14 00:46:37 +00:00

8 lines
120 B
Rust

// run-rustfix
fn main() {
match 1 {
1 >= {} //~ ERROR
_ => { let _: u16 = 2u8; } //~ ERROR
}
}