mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
26 lines
535 B
Diff
26 lines
535 B
Diff
- // MIR for `one` before Inline
|
|
+ // MIR for `one` after Inline
|
|
|
|
fn one() -> () {
|
|
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) {
|
|
+ }
|
|
+ }
|
|
+ }
|
|
|
|
bb0: {
|
|
StorageLive(_1);
|
|
_1 = <C as Call>::call() -> [return: bb1, unwind continue];
|
|
}
|
|
|
|
bb1: {
|
|
StorageDead(_1);
|
|
_0 = const ();
|
|
return;
|
|
}
|
|
}
|
|
|