diff options
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.stderr | 10 |
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 + |