fork/rust

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

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

master
511 B26 linesraw
1- // MIR for `arg_src` before DestinationPropagation
2+ // MIR for `arg_src` after DestinationPropagation
3  
4  fn arg_src(_1: i32) -> i32 {
5      debug x => _1;
6      let mut _0: i32;
7      let _2: i32;
8      scope 1 {
9-         debug y => _2;
10+         debug y => _0;
11      }
12  
13      bb0: {
14-         StorageLive(_2);
15-         _2 = _1;
16+         nop;
17+         _0 = _1;
18          _1 = const 123_i32;
19-         _0 = _2;
20-         StorageDead(_2);
21+         nop;
22+         nop;
23          return;
24      }
25  }
26