summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/building/custom/terminators.drop_first.built.after.mir
blob: c903e5946961b7b51bda4628b62ef4f6796baca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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: {
        replace(_1 <- move _2) -> bb1;   // scope 0 at $DIR/terminators.rs:+3:13: +3:49
    }

    bb1: {
        return;                          // scope 0 at $DIR/terminators.rs:+7:13: +7:21
    }
}