about summary refs log tree commit diff
path: root/tests/ui/parser/bind-struct-early-modifiers.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/bind-struct-early-modifiers.stderr')
-rw-r--r--tests/ui/parser/bind-struct-early-modifiers.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/parser/bind-struct-early-modifiers.stderr b/tests/ui/parser/bind-struct-early-modifiers.stderr
new file mode 100644
index 00000000000..b35762a887c
--- /dev/null
+++ b/tests/ui/parser/bind-struct-early-modifiers.stderr
@@ -0,0 +1,10 @@
+error: expected `,`
+  --> $DIR/bind-struct-early-modifiers.rs:4:20
+   |
+LL |         Foo { ref x: ref x } => {},
+   |         ---        ^
+   |         |
+   |         while parsing the fields for this pattern
+
+error: aborting due to previous error
+