rust/tests/ui/parser/bad-match.rs

5 lines
108 B
Rust

fn main() {
let isize x = 5; //~ ERROR expected one of `:`, `;`, `=`, `@`, or `|`, found `x`
match x;
}