]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/remove_zsts_dont_touch_unions.get_union.RemoveZsts.after.mir
Merge commit '54a20a02ecd0e1352a871aa0990bcc8b8b03173e' into clippyup
[rust.git] / src / test / mir-opt / remove_zsts_dont_touch_unions.get_union.RemoveZsts.after.mir
1 // MIR for `get_union` after RemoveZsts
2
3 fn get_union() -> Foo {
4     let mut _0: Foo;                     // return place in scope 0 at $DIR/remove_zsts_dont_touch_unions.rs:12:19: 12:22
5     let mut _1: ();                      // in scope 0 at $DIR/remove_zsts_dont_touch_unions.rs:13:14: 13:16
6
7     bb0: {
8         StorageLive(_1);                 // scope 0 at $DIR/remove_zsts_dont_touch_unions.rs:13:14: 13:16
9         (_0.0: ()) = move _1;            // scope 0 at $DIR/remove_zsts_dont_touch_unions.rs:13:5: 13:18
10         StorageDead(_1);                 // scope 0 at $DIR/remove_zsts_dont_touch_unions.rs:13:17: 13:18
11         return;                          // scope 0 at $DIR/remove_zsts_dont_touch_unions.rs:14:2: 14:2
12     }
13 }