]> git.proxmox.com Git - rustc.git/blob - tests/ui/unpretty/pretty-let-else.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / unpretty / pretty-let-else.rs
1 // compile-flags: -Zunpretty=hir
2 // check-pass
3
4
5
6 fn foo(x: Option<u32>) {
7 let Some(_) = x else { panic!() };
8 }
9
10 fn main() {}