summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/casts.redundant.PreCodegen.after.mir
blob: 2084f44f24861fc9f368c12500c13bfe0da0c99f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// MIR for `redundant` after PreCodegen

fn redundant(_1: *const &u8) -> *const &u8 {
    debug x => _1;
    let mut _0: *const &u8;
    scope 1 (inlined generic_cast::<&u8, &u8>) {
        debug x => _1;
    }

    bb0: {
        _0 = _1;
        return;
    }
}