summaryrefslogtreecommitdiffstats
path: root/tests/ui/array-slice-vec/vec-macro-with-comma-only.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/array-slice-vec/vec-macro-with-comma-only.stderr')
-rw-r--r--tests/ui/array-slice-vec/vec-macro-with-comma-only.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/array-slice-vec/vec-macro-with-comma-only.stderr b/tests/ui/array-slice-vec/vec-macro-with-comma-only.stderr
new file mode 100644
index 000000000..ec4a001f4
--- /dev/null
+++ b/tests/ui/array-slice-vec/vec-macro-with-comma-only.stderr
@@ -0,0 +1,10 @@
+error: no rules expected the token `,`
+ --> $DIR/vec-macro-with-comma-only.rs:2:10
+ |
+LL | vec![,];
+ | ^ no rules expected this token in macro call
+ |
+ = note: while trying to match end of macro
+
+error: aborting due to previous error
+