summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/suggest-semicolon-before-array.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/suggest-semicolon-before-array.stderr')
-rw-r--r--tests/ui/parser/suggest-semicolon-before-array.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/parser/suggest-semicolon-before-array.stderr b/tests/ui/parser/suggest-semicolon-before-array.stderr
new file mode 100644
index 000000000..8a33321fb
--- /dev/null
+++ b/tests/ui/parser/suggest-semicolon-before-array.stderr
@@ -0,0 +1,13 @@
+error: expected `;`, found `[`
+ --> $DIR/suggest-semicolon-before-array.rs:8:5
+ |
+LL | [1, 3]
+ | ^
+ |
+help: consider adding `;` here
+ |
+LL | foo();
+ | +
+
+error: aborting due to previous error
+