rust/src/test/ui/parser/removed-syntax-mut-vec-expr.stderr

9 lines
268 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]; //~ ERROR expected expression, found keyword `mut`
| ^^^ expected expression
error: aborting due to previous error