]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/retag.{impl#0}-foo_shr.SimplifyCfg-elaborate-drops.after.mir
Rollup merge of #107719 - WaffleLapkin:de-arena-allocates-you-UwU, r=cjgillot
[rust.git] / tests / mir-opt / retag.{impl#0}-foo_shr.SimplifyCfg-elaborate-drops.after.mir
1 // MIR for `<impl at $DIR/retag.rs:12:1: 12:10>::foo_shr` after SimplifyCfg-elaborate-drops
2
3 fn <impl at $DIR/retag.rs:12:1: 12:10>::foo_shr(_1: &Test, _2: &i32) -> &i32 {
4     debug self => _1;                    // in scope 0 at $DIR/retag.rs:+0:20: +0:25
5     debug x => _2;                       // in scope 0 at $DIR/retag.rs:+0:27: +0:28
6     let mut _0: &i32;                    // return place in scope 0 at $DIR/retag.rs:+0:42: +0:49
7
8     bb0: {
9         Retag([fn entry] _1);            // scope 0 at $DIR/retag.rs:+0:20: +0:25
10         Retag([fn entry] _2);            // scope 0 at $DIR/retag.rs:+0:27: +0:28
11         _0 = _2;                         // scope 0 at $DIR/retag.rs:+1:9: +1:10
12         Retag(_0);                       // scope 0 at $DIR/retag.rs:+1:9: +1:10
13         return;                          // scope 0 at $DIR/retag.rs:+2:6: +2:6
14     }
15 }