]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/inline/inline_compatibility.inlined_target_feature.Inline.diff
Rollup merge of #106644 - alexcrichton:update-wasi-toolchain, r=cuviper
[rust.git] / tests / mir-opt / inline / inline_compatibility.inlined_target_feature.Inline.diff
1 - // MIR for `inlined_target_feature` before Inline
2 + // MIR for `inlined_target_feature` after Inline
3   
4   fn inlined_target_feature() -> () {
5       let mut _0: ();                      // return place in scope 0 at $DIR/inline_compatibility.rs:+0:40: +0:40
6       let _1: ();                          // in scope 0 at $DIR/inline_compatibility.rs:+1:5: +1:21
7 +     scope 1 (inlined target_feature) {   // at $DIR/inline_compatibility.rs:13:5: 13:21
8 +     }
9   
10       bb0: {
11           StorageLive(_1);                 // scope 0 at $DIR/inline_compatibility.rs:+1:5: +1:21
12 -         _1 = target_feature() -> bb1;    // scope 0 at $DIR/inline_compatibility.rs:+1:5: +1:21
13 -                                          // mir::Constant
14 -                                          // + span: $DIR/inline_compatibility.rs:13:5: 13:19
15 -                                          // + literal: Const { ty: unsafe fn() {target_feature}, val: Value(<ZST>) }
16 -     }
17
18 -     bb1: {
19           StorageDead(_1);                 // scope 0 at $DIR/inline_compatibility.rs:+1:21: +1:22
20           _0 = const ();                   // scope 0 at $DIR/inline_compatibility.rs:+0:40: +2:2
21           return;                          // scope 0 at $DIR/inline_compatibility.rs:+2:2: +2:2
22       }
23   }
24