1 2 3 4 5 6 7 8 9
// Check that we don't ICE for irrefutable or-patterns in function parameters // check-pass fn foo((Some(_) | None): Option<u32>) {} fn main() { foo(None); }