2020-11-08 18:00:00 -06:00
|
|
|
- // MIR for `one` before Inline
|
|
|
|
+ // MIR for `one` after Inline
|
|
|
|
|
|
|
|
fn one() -> () {
|
2023-06-06 08:47:00 -05:00
|
|
|
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) {
|
2023-01-02 00:01:29 -06:00
|
|
|
+ }
|
|
|
|
+ }
|
2020-11-08 18:00:00 -06:00
|
|
|
+ }
|
|
|
|
|
|
|
|
bb0: {
|
2023-06-06 08:47:00 -05:00
|
|
|
StorageLive(_1);
|
2023-06-23 11:53:09 -05:00
|
|
|
_1 = <C as Call>::call() -> [return: bb1, unwind continue];
|
2020-11-08 18:00:00 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
bb1: {
|
2023-06-06 08:47:00 -05:00
|
|
|
StorageDead(_1);
|
|
|
|
_0 = const ();
|
|
|
|
return;
|
2020-11-08 18:00:00 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|