]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/retag/rustc.{{impl}}-foo_shr.SimplifyCfg-elaborate-drops.after.mir
Rollup merge of #71627 - ldm0:autoderefarg, r=Dylan-DPC
[rust.git] / src / test / mir-opt / retag / rustc.{{impl}}-foo_shr.SimplifyCfg-elaborate-drops.after.mir
1 // MIR for `<impl at $DIR/retag.rs:11:1: 19:2>::foo_shr` after SimplifyCfg-elaborate-drops
2
3 fn <impl at $DIR/retag.rs:11:1: 19:2>::foo_shr(_1: &Test, _2: &i32) -> &i32 {
4     debug self => _1;                    // in scope 0 at $DIR/retag.rs:16:20: 16:25
5     debug x => _2;                       // in scope 0 at $DIR/retag.rs:16:27: 16:28
6     let mut _0: &i32;                    // return place in scope 0 at $DIR/retag.rs:16:42: 16:49
7
8     bb0: {
9         Retag([fn entry] _1);            // scope 0 at $DIR/retag.rs:16:5: 18:6
10         Retag([fn entry] _2);            // scope 0 at $DIR/retag.rs:16:5: 18:6
11         _0 = _2;                         // scope 0 at $DIR/retag.rs:17:9: 17:10
12         Retag(_0);                       // scope 0 at $DIR/retag.rs:17:9: 17:10
13         return;                          // scope 0 at $DIR/retag.rs:18:6: 18:6
14     }
15 }