diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/array-slice-vec/vec-macro-with-comma-only.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/array-slice-vec/vec-macro-with-comma-only.stderr b/src/test/ui/array-slice-vec/vec-macro-with-comma-only.stderr new file mode 100644 index 000000000..abbee347c --- /dev/null +++ b/src/test/ui/array-slice-vec/vec-macro-with-comma-only.stderr @@ -0,0 +1,8 @@ +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 + +error: aborting due to previous error + |