diff options
Diffstat (limited to 'tests/ui/parser/issues/recover-ge-as-fat-arrow.rs')
-rw-r--r-- | tests/ui/parser/issues/recover-ge-as-fat-arrow.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/parser/issues/recover-ge-as-fat-arrow.rs b/tests/ui/parser/issues/recover-ge-as-fat-arrow.rs new file mode 100644 index 000000000..92143fcf3 --- /dev/null +++ b/tests/ui/parser/issues/recover-ge-as-fat-arrow.rs @@ -0,0 +1,7 @@ +// run-rustfix +fn main() { + match 1 { + 1 >= {} //~ ERROR + _ => { let _: u16 = 2u8; } //~ ERROR + } +} |