rust/tests/mir-opt/inline/dyn_trait.mk_cycle.Inline.panic-abort.diff
2024-08-18 16:07:33 -07:00

21 lines
459 B
Diff

- // 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 = copy _1;
_0 = <dyn Cache<V = V> as Cache>::store_nocache(move _2) -> [return: bb1, unwind unreachable];
}
bb1: {
StorageDead(_2);
return;
}
}