fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1- // MIR for `unreachable_ref` before DataflowConstProp 2+ // MIR for `unreachable_ref` after DataflowConstProp 3 4 fn unreachable_ref() -> ! { 5 let mut _0: !; 6 let _1: &Never; 7 scope 1 { 8 debug x => _1; 9 } 10 scope 2 { 11 } 12 13 bb0: { 14 StorageLive(_1); 15- _1 = const 1_usize as &Never (Transmute); 16+ _1 = const {0x1 as &Never}; 17 unreachable; 18 } 19 } 20