about summary refs log tree commit diff
path: root/tests/ui/parser/pat-lt-bracket-5.rs
blob: 6d784494d56a36562332529a65cf4e26a1387eca (plain)
1
2
3
4
5
fn main() {
    let v[0] = v[1];
    //~^ error: expected a pattern, found an expression
    //~| error: cannot find value `v` in this scope
}