summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/inline/inline_cycle.one.Inline.panic-abort.diff
blob: c8805a4466a7b4cce706a709c310c8709ee5ac2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
- // MIR for `one` before Inline
+ // MIR for `one` after Inline
  
  fn one() -> () {
      let mut _0: ();
      let _1: ();
+     scope 1 (inlined <C as Call>::call) {
+         scope 2 (inlined <A<C> as Call>::call) {
+             scope 3 (inlined <B<C> as Call>::call) {
+             }
+         }
+     }
  
      bb0: {
          StorageLive(_1);
          _1 = <C as Call>::call() -> [return: bb1, unwind unreachable];
      }
  
      bb1: {
          StorageDead(_1);
          _0 = const ();
          return;
      }
  }