summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/building/custom/terminators.drop_first.built.after.mir
blob: ada78c0fc782eaa0e9d6b307c9a07f16598fc161 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// MIR for `drop_first` after built

fn drop_first(_1: WriteOnDrop<'_>, _2: WriteOnDrop<'_>) -> () {
    let mut _0: ();                      // return place in scope 0 at $DIR/terminators.rs:+0:59: +0:59

    bb0: {
        drop(_1) -> bb1;                 // scope 0 at $DIR/terminators.rs:+3:13: +3:30
    }

    bb1: {
        _1 = move _2;                    // scope 0 at $DIR/terminators.rs:+7:13: +7:24
        return;                          // scope 0 at $DIR/terminators.rs:+8:13: +8:21
    }
}