2022-09-04 22:00:31 -05:00
|
|
|
// MIR for `boo` after built
|
2022-06-29 09:18:55 -05:00
|
|
|
|
|
|
|
fn boo(_1: Boo) -> usize {
|
2023-06-06 08:47:00 -05:00
|
|
|
debug boo => _1;
|
|
|
|
let mut _0: usize;
|
|
|
|
let _2: Boo;
|
|
|
|
let mut _3: u8;
|
|
|
|
let mut _4: u8;
|
|
|
|
let mut _5: bool;
|
2022-06-29 09:18:55 -05:00
|
|
|
|
|
|
|
bb0: {
|
2023-06-06 08:47:00 -05:00
|
|
|
StorageLive(_2);
|
|
|
|
_2 = move _1;
|
|
|
|
_3 = discriminant(_2);
|
|
|
|
_4 = copy _3 as u8 (IntToInt);
|
|
|
|
_5 = Le(copy _4, const 1_u8);
|
|
|
|
assume(move _5);
|
|
|
|
_0 = move _3 as usize (IntToInt);
|
|
|
|
StorageDead(_2);
|
|
|
|
return;
|
2022-06-29 09:18:55 -05:00
|
|
|
}
|
|
|
|
}
|