rust/tests/mir-opt/building/custom/projections.unwrap_deref.built.after.mir

11 lines
189 B
Rust
Raw Normal View History

2022-12-04 02:20:37 -06:00
// MIR for `unwrap_deref` after built
fn unwrap_deref(_1: Option<&i32>) -> i32 {
2023-06-06 08:47:00 -05:00
let mut _0: i32;
2022-12-04 02:20:37 -06:00
bb0: {
2024-08-18 16:26:34 -05:00
_0 = copy (*((_1 as variant#1).0: &i32));
2023-06-06 08:47:00 -05:00
return;
2022-12-04 02:20:37 -06:00
}
}