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

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

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