summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/suggest-semi-in-array.rs
blob: 9ce2e59e53ba612a16a1570ec95caa9e5a286d76 (plain)
1
2
3
4
5
fn main() {
    let v = [1
    2];
    //~^ ERROR expected one of `,`, `.`, `;`, `?`, `]`, or an operator, found `2`
}