2020-04-04 12:15:01 -05:00
|
|
|
- // MIR for `main` before Inline
|
|
|
|
+ // MIR for `main` after Inline
|
|
|
|
|
|
|
|
fn main() -> () {
|
2023-06-06 08:47:00 -05:00
|
|
|
let mut _0: ();
|
|
|
|
let _1: u32;
|
2020-04-04 12:15:01 -05:00
|
|
|
scope 1 {
|
2023-06-06 08:47:00 -05:00
|
|
|
debug x => _1;
|
2020-04-04 12:15:01 -05:00
|
|
|
}
|
2023-06-06 08:47:00 -05:00
|
|
|
+ scope 2 (inlined <Vec<()> as Foo>::bar) {
|
2020-04-04 12:15:01 -05:00
|
|
|
+ }
|
|
|
|
|
|
|
|
bb0: {
|
2023-06-06 08:47:00 -05:00
|
|
|
StorageLive(_1);
|
2023-06-23 11:53:09 -05:00
|
|
|
- _1 = <Vec<()> as Foo>::bar() -> [return: bb1, unwind continue];
|
2020-04-04 12:15:01 -05:00
|
|
|
- }
|
|
|
|
-
|
|
|
|
- bb1: {
|
2023-06-06 08:47:00 -05:00
|
|
|
+ _1 = const 123_u32;
|
|
|
|
_0 = const ();
|
|
|
|
StorageDead(_1);
|
|
|
|
return;
|
2020-04-04 12:15:01 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|