blob: 14270a5720274aa425f24cda042b7e6fb1147a67 [file] [log] [blame]
#[attr = MacroUse {arguments: UseAll}]
extern crate std;
#[prelude_import]
use ::std::prelude::rust_2015::*;
//@ compile-flags: -Zunpretty=hir
//@ check-pass
//@ edition: 2015
fn foo(x:
Option<u32>) {
let Some(_) = x else
{
{ ::std::rt::begin_panic("explicit panic") }
};
}
fn main() { }