diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/parser/removed-syntax-mut-vec-expr.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/parser/removed-syntax-mut-vec-expr.stderr b/src/test/ui/parser/removed-syntax-mut-vec-expr.stderr new file mode 100644 index 000000000..313420fb9 --- /dev/null +++ b/src/test/ui/parser/removed-syntax-mut-vec-expr.stderr @@ -0,0 +1,8 @@ +error: expected expression, found keyword `mut` + --> $DIR/removed-syntax-mut-vec-expr.rs:2:14 + | +LL | let v = [mut 1, 2, 3, 4]; + | ^^^ expected expression + +error: aborting due to previous error + |