rust/tests/ui/parser/removed-syntax-mut-vec-expr.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

8 lines
219 B
Text

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