fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
954 B38 linesraw
1// MIR for `main` after Inline
2
3fn main() -> () {
4    let mut _0: ();
5    let _1: {closure@$DIR/issue_76997_inline_scopes_parenting.rs:5:13: 5:16};
6    let mut _2: &{closure@$DIR/issue_76997_inline_scopes_parenting.rs:5:13: 5:16};
7    let mut _3: ((),);
8    let mut _4: ();
9    let mut _5: ();
10    scope 1 {
11        debug f => _1;
12        scope 2 (inlined main::{closure#0}) {
13            debug x => const ();
14            scope 3 {
15                debug y => const ();
16            }
17        }
18    }
19
20    bb0: {
21        StorageLive(_1);
22        _1 = {closure@$DIR/issue_76997_inline_scopes_parenting.rs:5:13: 5:16};
23        StorageLive(_2);
24        _2 = &_1;
25        StorageLive(_3);
26        StorageLive(_4);
27        _4 = ();
28        _3 = (move _4,);
29        StorageLive(_5);
30        _5 = move (_3.0: ());
31        StorageDead(_5);
32        StorageDead(_4);
33        StorageDead(_3);
34        StorageDead(_2);
35        StorageDead(_1);
36        return;
37    }
38}