rust/tests/ui/parser/removed-syntax/removed-syntax-mut-vec-expr...

9 lines
219 B
Plaintext

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 1 previous error