1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
// MIR for `switch_option_repr` after built fn switch_option_repr(_1: Bool) -> bool { let mut _0: bool; let mut _2: u8; bb0: { _2 = discriminant(_1); switchInt(_2) -> [0: bb2, otherwise: bb1]; } bb1: { _0 = const true; return; } bb2: { _0 = const false; return; } }