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

9 lines
219 B
Plaintext
Raw Normal View History

2018-10-20 20:36:17 +00:00
error: expected expression, found keyword `mut`
--> $DIR/removed-syntax-mut-vec-expr.rs:2:14
2018-10-20 20:36:17 +00:00
|
2019-03-09 12:03:44 +00:00
LL | let v = [mut 1, 2, 3, 4];
2018-10-20 20:36:17 +00:00
| ^^^ expected expression
error: aborting due to 1 previous error
2018-10-20 20:36:17 +00:00