rust/tests/mir-opt/building/custom/simple_assign.simple.built.after.mir
2024-08-18 16:07:33 -07:00

21 lines
315 B
Rust

// MIR for `simple` after built
fn simple(_1: i32) -> i32 {
let mut _0: i32;
let mut _2: i32;
let mut _3: i32;
bb0: {
StorageLive(_2);
_2 = copy _1;
goto -> bb1;
}
bb1: {
_3 = move _2;
StorageDead(_2);
_0 = copy _3;
return;
}
}