]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/remove_zsts.get_union.PreCodegen.after.mir
Auto merge of #107267 - cjgillot:keep-aggregate, r=oli-obk
[rust.git] / tests / mir-opt / remove_zsts.get_union.PreCodegen.after.mir
1 // MIR for `get_union` after PreCodegen
2
3 fn get_union() -> Foo {
4     let mut _0: Foo;                     // return place in scope 0 at $DIR/remove_zsts.rs:+0:19: +0:22
5     let mut _1: ();                      // in scope 0 at $DIR/remove_zsts.rs:+1:14: +1:16
6
7     bb0: {
8         StorageLive(_1);                 // scope 0 at $DIR/remove_zsts.rs:+1:14: +1:16
9         _0 = Foo { x: move _1 };         // scope 0 at $DIR/remove_zsts.rs:+1:5: +1:18
10         StorageDead(_1);                 // scope 0 at $DIR/remove_zsts.rs:+1:17: +1:18
11         return;                          // scope 0 at $DIR/remove_zsts.rs:+2:2: +2:2
12     }
13 }