about summary refs log tree commit diff
path: root/tests/ui/parser/recovered-struct-variant.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/recovered-struct-variant.stderr')
-rw-r--r--tests/ui/parser/recovered-struct-variant.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/parser/recovered-struct-variant.stderr b/tests/ui/parser/recovered-struct-variant.stderr
new file mode 100644
index 00000000000..78c67866fb0
--- /dev/null
+++ b/tests/ui/parser/recovered-struct-variant.stderr
@@ -0,0 +1,10 @@
+error: expected `:`, found `,`
+  --> $DIR/recovered-struct-variant.rs:2:10
+   |
+LL |     A { a, b: usize }
+   |     -    ^ expected `:`
+   |     |
+   |     while parsing this struct
+
+error: aborting due to previous error
+