mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
31 lines
771 B
Diff
31 lines
771 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) {
|
|
+ scope 4 (inlined <B<C> as Call>::call) {
|
|
+ scope 5 (inlined <C as Call>::call) {
|
|
+ }
|
|
+ }
|
|
+ }
|
|
+ }
|
|
+ }
|
|
|
|
bb0: {
|
|
StorageLive(_1);
|
|
- _1 = <C as Call>::call() -> [return: bb1, unwind continue];
|
|
+ _1 = <B<A> as Call>::call() -> [return: bb1, unwind continue];
|
|
}
|
|
|
|
bb1: {
|
|
StorageDead(_1);
|
|
_0 = const ();
|
|
return;
|
|
}
|
|
}
|
|
|