summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/remove_zsts.get_union.RemoveZsts.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:31 +0000
commitdc0db358abe19481e475e10c32149b53370f1a1c (patch)
treeab8ce99c4b255ce46f99ef402c27916055b899ee /tests/mir-opt/remove_zsts.get_union.RemoveZsts.diff
parentReleasing progress-linux version 1.71.1+dfsg1-2~progress7.99u1. (diff)
downloadrustc-dc0db358abe19481e475e10c32149b53370f1a1c.tar.xz
rustc-dc0db358abe19481e475e10c32149b53370f1a1c.zip
Merging upstream version 1.72.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/mir-opt/remove_zsts.get_union.RemoveZsts.diff')
-rw-r--r--tests/mir-opt/remove_zsts.get_union.RemoveZsts.diff22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/mir-opt/remove_zsts.get_union.RemoveZsts.diff b/tests/mir-opt/remove_zsts.get_union.RemoveZsts.diff
index edd86ef0a..748c18ba7 100644
--- a/tests/mir-opt/remove_zsts.get_union.RemoveZsts.diff
+++ b/tests/mir-opt/remove_zsts.get_union.RemoveZsts.diff
@@ -2,19 +2,19 @@
+ // MIR for `get_union` after RemoveZsts
fn get_union() -> Foo {
- let mut _0: Foo; // return place in scope 0 at $DIR/remove_zsts.rs:+0:19: +0:22
- let mut _1: (); // in scope 0 at $DIR/remove_zsts.rs:+1:14: +1:16
+ let mut _0: Foo;
+ let mut _1: ();
bb0: {
-- StorageLive(_1); // scope 0 at $DIR/remove_zsts.rs:+1:14: +1:16
-- _1 = (); // scope 0 at $DIR/remove_zsts.rs:+1:14: +1:16
-- _0 = Foo { x: move _1 }; // scope 0 at $DIR/remove_zsts.rs:+1:5: +1:18
-- StorageDead(_1); // scope 0 at $DIR/remove_zsts.rs:+1:17: +1:18
-+ nop; // scope 0 at $DIR/remove_zsts.rs:+1:14: +1:16
-+ nop; // scope 0 at $DIR/remove_zsts.rs:+1:14: +1:16
-+ _0 = Foo { x: const () }; // scope 0 at $DIR/remove_zsts.rs:+1:5: +1:18
-+ nop; // scope 0 at $DIR/remove_zsts.rs:+1:17: +1:18
- return; // scope 0 at $DIR/remove_zsts.rs:+2:2: +2:2
+- StorageLive(_1);
+- _1 = ();
+- _0 = Foo { x: move _1 };
+- StorageDead(_1);
++ nop;
++ nop;
++ _0 = Foo { x: const () };
++ nop;
+ return;
}
}