about summary refs log tree commit diff
path: root/tests/mir-opt/inline_default_trait_body.Trait-b.Inline.panic-abort.diff
blob: b5ca892077e14aa1d00ee41a94db98036ac5a2a3 (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
26
27
- // MIR for `Trait::b` before Inline
+ // MIR for `Trait::b` after Inline
  
  fn Trait::b(_1: &Self) -> () {
      debug self => _1;
      let mut _0: ();
      let _2: ();
      let mut _3: &();
      let _4: ();
      let mut _5: &();
  
      bb0: {
          StorageLive(_2);
          StorageLive(_3);
          _5 = const <Self as Trait>::b::promoted[0];
          _3 = &(*_5);
          _2 = <() as Trait>::a(move _3) -> [return: bb1, unwind unreachable];
      }
  
      bb1: {
          StorageDead(_3);
          StorageDead(_2);
          _0 = const ();
          return;
      }
  }