summaryrefslogtreecommitdiffstats
path: root/src/test/ui/unpretty/pretty-let-else.stdout
blob: 35ad1cd1b181261bedbcce15dd1ae00f6fb8fd00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[prelude_import]
use ::std::prelude::rust_2015::*;
#[macro_use]
extern crate std;
// compile-flags: -Zunpretty=hir
// check-pass



fn foo(x:
        Option<u32>) {
        let Some(_) = x else
            {

            { ::std::rt::begin_panic("explicit panic") }
        };
    }
fn main() { }