fork/rust

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

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

master
344 B16 linesraw
1// MIR for `adt` after built
2
3fn adt() -> Onion {
4    let mut _0: Onion;
5    let mut _1: i32;
6    let mut _2: Foo;
7    let mut _3: Bar;
8
9    bb0: {
10        _1 = const 1_i32;
11        _2 = Foo { a: const 1_i32, b: const 2_i32 };
12        _3 = Bar::Foo(move _2, _1);
13        _0 = Onion { neon: ((_3 as variant#0).1: i32) };
14        return;
15    }
16}