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