fork/rust

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

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

master
1.0 KiB21 linesraw
1// MIR for `outer` after PreCodegen
2
3fn outer(_1: u8) -> u8 {
4    debug v => _1;                       // in scope 0 at $DIR/spans.rs:9:14: 9:15
5    let mut _0: u8;                      // return place in scope 0 at $DIR/spans.rs:9:24: 9:26
6    let mut _2: &u8;                     // in scope 0 at $DIR/spans.rs:10:11: 10:13
7
8    bb0: {
9        StorageLive(_2);                 // scope 0 at $DIR/spans.rs:10:11: 10:13
10        _2 = &_1;                        // scope 0 at $DIR/spans.rs:10:11: 10:13
11        _0 = inner(move _2) -> [return: bb1, unwind continue]; // scope 0 at $DIR/spans.rs:10:5: 10:14
12                                         // mir::ConstOperand
13                                         // + span: $DIR/spans.rs:10:5: 10:10
14                                         // + const_: Const { ty: for<'a> fn(&'a u8) -> u8 {inner}, val: Value(inner) }
15    }
16
17    bb1: {
18        StorageDead(_2);                 // scope 0 at $DIR/spans.rs:10:13: 10:14
19        return;                          // scope 0 at $DIR/spans.rs:11:2: 11:2
20    }
21}