Update affected ui & incremental tests to use a user declared variable bindings instead of temporaries. The former are preserved because of debuginfo, the latter are not.
18 lines
826 B
Diff
18 lines
826 B
Diff
- // MIR for `d1` before SimplifyLocals
|
|
+ // MIR for `d1` after SimplifyLocals
|
|
|
|
fn d1() -> () {
|
|
let mut _0: (); // return place in scope 0 at $DIR/simplify-locals.rs:20:9: 20:9
|
|
- let mut _1: E; // in scope 0 at $DIR/simplify-locals.rs:22:13: 22:17
|
|
scope 1 {
|
|
}
|
|
|
|
bb0: {
|
|
- StorageLive(_1); // scope 0 at $DIR/simplify-locals.rs:22:13: 22:17
|
|
- discriminant(_1) = 0; // scope 0 at $DIR/simplify-locals.rs:22:13: 22:17
|
|
- StorageDead(_1); // scope 0 at $DIR/simplify-locals.rs:22:17: 22:18
|
|
_0 = const (); // scope 0 at $DIR/simplify-locals.rs:20:9: 23:2
|
|
return; // scope 0 at $DIR/simplify-locals.rs:23:2: 23:2
|
|
}
|
|
}
|
|
|