summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/removed-syntax-mut-vec-expr.rs
blob: 2ee95db5a25c2159aacd973b79aa7a95f3407148 (plain)
1
2
3
fn main() {
    let v = [mut 1, 2, 3, 4]; //~ ERROR expected expression, found keyword `mut`
}