fork/rust

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

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

master
515 B16 linesraw
1#[prelude_import]
2use ::std::prelude::rust_2015::*;
3#[macro_use]
4extern crate std;
5// https://github.com/rust-lang/rust/issues/82329
6// compile-flags: -Zunpretty=hir,typed
7// check-pass
8
9fn main() ({
10        (if (true as bool)
11                ({ } as
12                    ()) else if (let Some(a) =
13                       ((Some as
14                               fn(i32) -> Option<i32> {Option::<i32>::Some})((3 as i32)) as
15                           Option<i32>) as bool) ({ } as ()) as ())
16               } as ())