fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
534 B27 linesraw
1- // MIR for `opt` before RemoveUnneededDrops
2+ // MIR for `opt` after RemoveUnneededDrops
3  
4  fn opt(_1: bool) -> () {
5      debug x => _1;
6      let mut _0: ();
7      let _2: ();
8      let mut _3: bool;
9      scope 1 (inlined std::mem::drop::<bool>) {
10          debug _x => _3;
11      }
12  
13      bb0: {
14-         nop;
15          StorageLive(_3);
16          _3 = _1;
17-         drop(_3) -> [return: bb1, unwind continue];
18-     }
19- 
20-     bb1: {
21          StorageDead(_3);
22-         nop;
23-         nop;
24          return;
25      }
26  }
27