]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/dest-prop/copy_propagation_arg.baz.DestinationPropagation.diff
Rollup merge of #100382 - jackh726:gat-self-outlives-input, r=compiler-errors
[rust.git] / src / test / mir-opt / dest-prop / copy_propagation_arg.baz.DestinationPropagation.diff
1 - // MIR for `baz` before DestinationPropagation
2 + // MIR for `baz` after DestinationPropagation
3   
4   fn baz(_1: i32) -> () {
5       debug x => _1;                       // in scope 0 at $DIR/copy_propagation_arg.rs:+0:8: +0:13
6       let mut _0: ();                      // return place in scope 0 at $DIR/copy_propagation_arg.rs:+0:20: +0:20
7       let mut _2: i32;                     // in scope 0 at $DIR/copy_propagation_arg.rs:+2:9: +2:10
8   
9       bb0: {
10           StorageLive(_2);                 // scope 0 at $DIR/copy_propagation_arg.rs:+2:9: +2:10
11           nop;                             // scope 0 at $DIR/copy_propagation_arg.rs:+2:9: +2:10
12           nop;                             // scope 0 at $DIR/copy_propagation_arg.rs:+2:5: +2:10
13           StorageDead(_2);                 // scope 0 at $DIR/copy_propagation_arg.rs:+2:9: +2:10
14           nop;                             // scope 0 at $DIR/copy_propagation_arg.rs:+0:20: +3:2
15           return;                          // scope 0 at $DIR/copy_propagation_arg.rs:+3:2: +3:2
16       }
17   }
18