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

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

8 lines
116 B
Rust
Raw Normal View History

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