rust/tests/ui/parser/removed-syntax-mut-vec-expr.rs
2023-01-11 09:32:08 +00:00

3 lines
95 B
Rust

fn main() {
let v = [mut 1, 2, 3, 4]; //~ ERROR expected expression, found keyword `mut`
}