rust/tests/ui/parser/do-not-suggest-semicolon-between-macro-without-exclamation-mark-and-array.rs

4 lines
97 B
Rust
Raw Normal View History

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