]>
Commit | Line | Data |
---|---|---|
cdc7bbd5 XL |
1 | // MIR for `get_union` after RemoveZsts |
2 | ||
3 | fn get_union() -> Foo { | |
064997fb FG |
4 | let mut _0: Foo; // return place in scope 0 at $DIR/remove_zsts_dont_touch_unions.rs:+0:19: +0:22 |
5 | let mut _1: (); // in scope 0 at $DIR/remove_zsts_dont_touch_unions.rs:+1:14: +1:16 | |
cdc7bbd5 XL |
6 | |
7 | bb0: { | |
064997fb FG |
8 | StorageLive(_1); // scope 0 at $DIR/remove_zsts_dont_touch_unions.rs:+1:14: +1:16 |
9 | nop; // scope 0 at $DIR/remove_zsts_dont_touch_unions.rs:+1:14: +1:16 | |
10 | Deinit(_0); // scope 0 at $DIR/remove_zsts_dont_touch_unions.rs:+1:5: +1:18 | |
11 | (_0.0: ()) = move _1; // scope 0 at $DIR/remove_zsts_dont_touch_unions.rs:+1:5: +1:18 | |
12 | StorageDead(_1); // scope 0 at $DIR/remove_zsts_dont_touch_unions.rs:+1:17: +1:18 | |
13 | return; // scope 0 at $DIR/remove_zsts_dont_touch_unions.rs:+2:2: +2:2 | |
cdc7bbd5 XL |
14 | } |
15 | } |