summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/inline/dyn_trait.mk_cycle.Inline.panic-abort.diff
blob: d7801b7a0cc22f300d1ec67fa44e9b9d6c29326c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
- // MIR for `mk_cycle` before Inline
+ // MIR for `mk_cycle` after Inline
  
  fn mk_cycle(_1: &dyn Cache<V = V>) -> () {
      debug c => _1;
      let mut _0: ();
      let mut _2: &dyn Cache<V = V>;
  
      bb0: {
          StorageLive(_2);
          _2 = &(*_1);
          _0 = <dyn Cache<V = V> as Cache>::store_nocache(move _2) -> [return: bb1, unwind unreachable];
      }
  
      bb1: {
          StorageDead(_2);
          return;
      }
  }