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

8 lines
121 B
Rust

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