summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/removed-syntax-field-semicolon.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/removed-syntax-field-semicolon.stderr')
-rw-r--r--tests/ui/parser/removed-syntax-field-semicolon.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/parser/removed-syntax-field-semicolon.stderr b/tests/ui/parser/removed-syntax-field-semicolon.stderr
new file mode 100644
index 000000000..532d4fb2b
--- /dev/null
+++ b/tests/ui/parser/removed-syntax-field-semicolon.stderr
@@ -0,0 +1,10 @@
+error: struct fields are separated by `,`
+ --> $DIR/removed-syntax-field-semicolon.rs:2:12
+ |
+LL | struct S {
+ | - while parsing this struct
+LL | bar: ();
+ | ^ help: replace `;` with `,`
+
+error: aborting due to previous error
+