]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/retag.{impl#0}-foo.SimplifyCfg-elaborate-drops.after.mir
Rollup merge of #107344 - compiler-errors:new-solver-tweaks, r=lcnr
[rust.git] / tests / mir-opt / retag.{impl#0}-foo.SimplifyCfg-elaborate-drops.after.mir
1 // MIR for `<impl at $DIR/retag.rs:12:1: 12:10>::foo` after SimplifyCfg-elaborate-drops
2
3 fn <impl at $DIR/retag.rs:12:1: 12:10>::foo(_1: &Test, _2: &mut i32) -> &mut i32 {
4     debug self => _1;                    // in scope 0 at $DIR/retag.rs:+0:16: +0:21
5     debug x => _2;                       // in scope 0 at $DIR/retag.rs:+0:23: +0:24
6     let mut _0: &mut i32;                // return place in scope 0 at $DIR/retag.rs:+0:42: +0:53
7     let mut _3: &mut i32;                // in scope 0 at $DIR/retag.rs:+1:9: +1:10
8
9     bb0: {
10         Retag([fn entry] _1);            // scope 0 at $DIR/retag.rs:+0:16: +0:21
11         Retag([fn entry] _2);            // scope 0 at $DIR/retag.rs:+0:23: +0:24
12         StorageLive(_3);                 // scope 0 at $DIR/retag.rs:+1:9: +1:10
13         _3 = &mut (*_2);                 // scope 0 at $DIR/retag.rs:+1:9: +1:10
14         _0 = &mut (*_3);                 // scope 0 at $DIR/retag.rs:+1:9: +1:10
15         StorageDead(_3);                 // scope 0 at $DIR/retag.rs:+2:5: +2:6
16         return;                          // scope 0 at $DIR/retag.rs:+2:6: +2:6
17     }
18 }