summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/suggest-semi-in-array.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/suggest-semi-in-array.stderr')
-rw-r--r--tests/ui/parser/suggest-semi-in-array.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/parser/suggest-semi-in-array.stderr b/tests/ui/parser/suggest-semi-in-array.stderr
new file mode 100644
index 000000000..d7cd6efae
--- /dev/null
+++ b/tests/ui/parser/suggest-semi-in-array.stderr
@@ -0,0 +1,10 @@
+error: expected one of `,`, `.`, `;`, `?`, `]`, or an operator, found `2`
+ --> $DIR/suggest-semi-in-array.rs:3:5
+ |
+LL | let v = [1
+ | - expected one of `,`, `.`, `;`, `?`, `]`, or an operator
+LL | 2];
+ | ^ unexpected token
+
+error: aborting due to previous error
+