summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/pat-lt-bracket-5.rs
blob: aaece1f6bd9cb8e4d8a28fd3ca993205e321dacd (plain)
1
2
3
fn main() {
    let v[0] = v[1]; //~ ERROR expected one of `:`, `;`, `=`, `@`, or `|`, found `[`
}