]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unpretty/pretty-let-else.rs
Auto merge of #101969 - reez12g:issue-101306, r=reez12g
[rust.git] / src / test / 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() {}