]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unpretty/pretty-let-else.stdout
Auto merge of #101969 - reez12g:issue-101306, r=reez12g
[rust.git] / src / test / ui / unpretty / pretty-let-else.stdout
1 #[prelude_import]
2 use ::std::prelude::rust_2015::*;
3 #[macro_use]
4 extern crate std;
5 // compile-flags: -Zunpretty=hir
6 // check-pass
7
8
9
10 fn foo(x:
11         Option<u32>) {
12         let Some(_) = x else
13             {
14
15             { ::std::rt::begin_panic("explicit panic") }
16         };
17     }
18 fn main() { }