1 2 3 4 5 6 7 8 9 10
// compile-flags: -Zunpretty=hir // check-pass fn foo(x: Option<u32>) { let Some(_) = x else { panic!() }; } fn main() {}