summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/do-not-suggest-semicolon-before-array.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/do-not-suggest-semicolon-before-array.stderr')
-rw-r--r--tests/ui/parser/do-not-suggest-semicolon-before-array.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/parser/do-not-suggest-semicolon-before-array.stderr b/tests/ui/parser/do-not-suggest-semicolon-before-array.stderr
new file mode 100644
index 000000000..a9dd52632
--- /dev/null
+++ b/tests/ui/parser/do-not-suggest-semicolon-before-array.stderr
@@ -0,0 +1,10 @@
+error: expected one of `.`, `?`, `]`, or an operator, found `,`
+ --> $DIR/do-not-suggest-semicolon-before-array.rs:5:5
+ |
+LL | [1, 3)
+ | ^ ^ help: `]` may belong here
+ | |
+ | unclosed delimiter
+
+error: aborting due to previous error
+