summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/issue-66270-pat-struct-parser-recovery.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/pattern/issue-66270-pat-struct-parser-recovery.stderr')
-rw-r--r--tests/ui/pattern/issue-66270-pat-struct-parser-recovery.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/pattern/issue-66270-pat-struct-parser-recovery.stderr b/tests/ui/pattern/issue-66270-pat-struct-parser-recovery.stderr
new file mode 100644
index 000000000..f40642f30
--- /dev/null
+++ b/tests/ui/pattern/issue-66270-pat-struct-parser-recovery.stderr
@@ -0,0 +1,10 @@
+error: expected type, found `0`
+ --> $DIR/issue-66270-pat-struct-parser-recovery.rs:4:22
+ |
+LL | struct Bug {
+ | --- while parsing this struct
+LL | incorrect_field: 0,
+ | ^ expected type
+
+error: aborting due to previous error
+