rust/tests/mir-opt/inline/issue_76997_inline_scopes_parenting.main.Inline.after.mir

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
954 B
Rust
Raw Normal View History

// MIR for `main` after Inline
fn main() -> () {
2023-06-06 08:47:00 -05:00
let mut _0: ();
let _1: {closure@$DIR/issue_76997_inline_scopes_parenting.rs:5:13: 5:16};
let mut _2: &{closure@$DIR/issue_76997_inline_scopes_parenting.rs:5:13: 5:16};
2023-06-06 08:47:00 -05:00
let mut _3: ((),);
let mut _4: ();
let mut _5: ();
scope 1 {
2023-06-06 08:47:00 -05:00
debug f => _1;
scope 2 (inlined main::{closure#0}) {
debug x => const ();
scope 3 {
2023-06-06 08:47:00 -05:00
debug y => const ();
}
}
}
bb0: {
2023-06-06 08:47:00 -05:00
StorageLive(_1);
_1 = {closure@$DIR/issue_76997_inline_scopes_parenting.rs:5:13: 5:16};
2023-06-06 08:47:00 -05:00
StorageLive(_2);
_2 = &_1;
StorageLive(_3);
StorageLive(_4);
_4 = ();
_3 = (move _4,);
StorageLive(_5);
_5 = move (_3.0: ());
StorageDead(_5);
StorageDead(_4);
StorageDead(_3);
StorageDead(_2);
StorageDead(_1);
return;
}
}