fork/rust

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

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

master
795 B37 linesraw
1- // MIR for `f` before CopyProp
2+ // MIR for `f` after CopyProp
3  
4  fn f(_1: T) -> () {
5      debug a => _1;
6      let mut _0: ();
7      let _2: T;
8      let _3: ();
9      let mut _4: T;
10      let mut _5: T;
11      scope 1 {
12-         debug b => _2;
13+         debug b => _1;
14      }
15  
16      bb0: {
17-         StorageLive(_2);
18-         _2 = _1;
19          StorageLive(_3);
20-         StorageLive(_4);
21-         _4 = _1;
22-         StorageLive(_5);
23-         _5 = _2;
24-         _3 = g::<T>(move _4, move _5) -> [return: bb1, unwind continue];
25+         _3 = g::<T>(_1, _1) -> [return: bb1, unwind continue];
26      }
27  
28      bb1: {
29-         StorageDead(_5);
30-         StorageDead(_4);
31          StorageDead(_3);
32          _0 = const ();
33-         StorageDead(_2);
34          return;
35      }
36  }
37