]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/removed-syntax-mut-vec-expr.rs
Rollup merge of #57229 - mikeyhew:fix-56806, r=varkor
[rust.git] / src / test / ui / parser / removed-syntax-mut-vec-expr.rs
1 // compile-flags: -Z parse-only
2
3 fn f() {
4     let v = [mut 1, 2, 3, 4]; //~ ERROR expected expression, found keyword `mut`
5 }