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