fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1- // MIR for `invalid_bool` before ConstProp 2+ // MIR for `invalid_bool` after ConstProp 3 4 fn invalid_bool() -> bool { 5 let mut _0: bool; 6 scope 1 { 7 } 8 9 bb0: { 10- _0 = const -1_i8 as bool (Transmute); 11+ _0 = const {transmute(0xff): bool}; 12 return; 13 } 14 } 15