fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1- // MIR for `main` before DestinationPropagation 2+ // MIR for `main` after DestinationPropagation 3 4 fn main() -> () { 5 let mut _0: (); 6 let _1: main::Un; 7 let mut _2: u32; 8 let mut _3: u32; 9 scope 1 { 10 debug un => _1; 11 scope 2 { 12 } 13 scope 3 (inlined std::mem::drop::<u32>) { 14 debug _x => _3; 15 } 16 } 17 18 bb0: { 19 StorageLive(_1); 20 StorageLive(_2); 21 _2 = val() -> [return: bb1, unwind continue]; 22 } 23 24 bb1: { 25 StorageDead(_2); 26 StorageLive(_3); 27 StorageDead(_3); 28 StorageDead(_1); 29 return; 30 } 31 } 32