rust/tests/mir-opt/inline/inline_cycle_generic.main.Inline.panic-unwind.diff
2023-06-15 15:19:11 -04:00

27 lines
554 B
Diff

- // MIR for `main` before Inline
+ // MIR for `main` after Inline
fn main() -> () {
let mut _0: ();
let _1: ();
+ scope 1 (inlined <C as Call>::call) {
+ scope 2 (inlined <B<A> as Call>::call) {
+ scope 3 (inlined <A as Call>::call) {
+ }
+ }
+ }
bb0: {
StorageLive(_1);
- _1 = <C as Call>::call() -> bb1;
+ _1 = <B<C> as Call>::call() -> bb1;
}
bb1: {
StorageDead(_1);
_0 = const ();
return;
}
}