rust/tests/mir-opt/simplify_locals.d1.SimplifyLocals-before-const-prop.diff
2023-06-15 15:19:11 -04:00

19 lines
352 B
Diff

- // MIR for `d1` before SimplifyLocals-before-const-prop
+ // MIR for `d1` after SimplifyLocals-before-const-prop
fn d1() -> () {
let mut _0: ();
- let mut _1: E;
scope 1 {
}
bb0: {
- StorageLive(_1);
- _1 = E::A;
- StorageDead(_1);
_0 = const ();
return;
}
}