rust/tests/mir-opt/building/custom/projections.unwrap_deref.bu...

11 lines
189 B
Rust

// MIR for `unwrap_deref` after built
fn unwrap_deref(_1: Option<&i32>) -> i32 {
let mut _0: i32;
bb0: {
_0 = copy (*((_1 as variant#1).0: &i32));
return;
}
}