rust/tests/ui/half-open-range-patterns/pat-tuple-4.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
113 B
Rust
Raw Normal View History

//@ check-pass
fn main() {
const PAT: u8 = 1;
match 0 {
(.. PAT) => {}
_ => {}
}
}