fork/rust

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

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

master
456 B22 linesraw
1// MIR for `bar` after built
2
3fn bar(_1: Bar) -> usize {
4    debug bar => _1;
5    let mut _0: usize;
6    let _2: Bar;
7    let mut _3: isize;
8    let mut _4: u8;
9    let mut _5: bool;
10
11    bb0: {
12        StorageLive(_2);
13        _2 = move _1;
14        _3 = discriminant(_2);
15        _4 = _3 as u8 (IntToInt);
16        _5 = Le(_4, const 1_u8);
17        assume(move _5);
18        _0 = move _3 as usize (IntToInt);
19        StorageDead(_2);
20        return;
21    }
22}