rust/tests/ui/match/postfix-match/pf-match-exhaustiveness.rs

8 lines
116 B
Rust

#![feature(postfix_match)]
fn main() {
Some(1).match { //~ non-exhaustive patterns
None => {},
}
}