rust/tests/ui/half-open-range-patterns/pat-tuple-5.rs
2024-05-02 19:42:31 -04:00

8 lines
113 B
Rust

fn main() {
const PAT: u8 = 1;
match (0, 1) {
(PAT ..) => {} //~ ERROR mismatched types
}
}