summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/building/custom/projections.unwrap.built.after.mir
blob: 0c43bdc9d24d00fae8cc54fc95911533549a7624 (plain)
1
2
3
4
5
6
7
8
9
10
// MIR for `unwrap` after built

fn unwrap(_1: Option<i32>) -> i32 {
    let mut _0: i32;

    bb0: {
        _0 = ((_1 as variant#1).0: i32);
        return;
    }
}