]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/suggest-semi-in-array.rs
Rollup merge of #106638 - RalfJung:realstd, r=thomcc
[rust.git] / tests / ui / parser / suggest-semi-in-array.rs
1 fn main() {
2     let v = [1
3     2];
4     //~^ ERROR expected one of `,`, `.`, `;`, `?`, `]`, or an operator, found `2`
5 }