2020-12-29 16:21:52 +00:00
|
|
|
- // MIR for `main` before Inline
|
|
|
|
+ // MIR for `main` after Inline
|
|
|
|
|
|
|
|
fn main() -> () {
|
2023-06-06 09:47:00 -04:00
|
|
|
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) {
|
2023-06-03 12:23:32 +00:00
|
|
|
+ }
|
2021-12-13 13:46:30 +01:00
|
|
|
+ }
|
|
|
|
+ }
|
2020-12-29 16:21:52 +00:00
|
|
|
|
|
|
|
bb0: {
|
2023-06-06 09:47:00 -04:00
|
|
|
StorageLive(_1);
|
2023-06-23 17:53:09 +01:00
|
|
|
- _1 = <C as Call>::call() -> [return: bb1, unwind continue];
|
|
|
|
+ _1 = <B<C> as Call>::call() -> [return: bb1, unwind continue];
|
2020-12-29 16:21:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bb1: {
|
2023-06-06 09:47:00 -04:00
|
|
|
StorageDead(_1);
|
|
|
|
_0 = const ();
|
|
|
|
return;
|
2020-12-29 16:21:52 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|