rustc/tests/ui/parser/bad-match.rs
2023-08-02 10:33:26 +02:00

5 lines
108 B
Rust

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