fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
298 B18 linesraw
1#[prelude_import]
2use ::std::prelude::rust_2015::*;
3#[macro_use]
4extern crate std;
5// compile-flags: -Zunpretty=hir
6// check-pass
7
8
9
10fn foo(x:
11        Option<u32>) {
12        let Some(_) = x else
13            {
14
15            { ::std::rt::begin_panic("explicit panic") }
16        };
17    }
18fn main() { }