2022-12-04 19:20:55 +00:00
|
|
|
- // MIR for `d1` before SimplifyLocals-before-const-prop
|
|
|
|
+ // MIR for `d1` after SimplifyLocals-before-const-prop
|
2020-10-26 00:00:00 +00:00
|
|
|
|
|
|
|
fn d1() -> () {
|
2022-11-02 14:54:49 -07:00
|
|
|
let mut _0: (); // return place in scope 0 at $DIR/simplify_locals.rs:+0:9: +0:9
|
|
|
|
- let mut _1: E; // in scope 0 at $DIR/simplify_locals.rs:+2:13: +2:17
|
2020-10-26 00:00:00 +00:00
|
|
|
scope 1 {
|
|
|
|
}
|
|
|
|
|
|
|
|
bb0: {
|
2022-11-02 14:54:49 -07:00
|
|
|
- StorageLive(_1); // scope 0 at $DIR/simplify_locals.rs:+2:13: +2:17
|
2023-01-25 18:34:19 +00:00
|
|
|
- _1 = E::A; // scope 0 at $DIR/simplify_locals.rs:+2:13: +2:17
|
2022-11-02 14:54:49 -07:00
|
|
|
- StorageDead(_1); // scope 0 at $DIR/simplify_locals.rs:+2:17: +2:18
|
|
|
|
_0 = const (); // scope 0 at $DIR/simplify_locals.rs:+0:9: +3:2
|
|
|
|
return; // scope 0 at $DIR/simplify_locals.rs:+3:2: +3:2
|
2020-10-26 00:00:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|