rust/tests/ui/parser/bad-match.rs
2023-01-11 09:32:08 +00:00

5 lines
108 B
Rust

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