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

11 lines
167 B
Rust
Raw Normal View History

2022-12-04 02:20:37 -06:00
// MIR for `unwrap` after built
fn unwrap(_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: {
2023-06-06 08:47:00 -05:00
_0 = ((_1 as variant#1).0: i32);
return;
2022-12-04 02:20:37 -06:00
}
}