rust/tests/ui/parser/better-expected.rs

4 lines
111 B
Rust

fn main() {
let x: [isize 3]; //~ ERROR expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `3`
}