rust/tests/ui/parser/do-not-suggest-semicolon-be...

4 lines
97 B
Rust

fn main() {
let _x = vec[1, 2, 3]; //~ ERROR expected one of `.`, `?`, `]`, or an operator
}