about summary refs log tree commit diff
path: root/src/test/mir-opt/const_prop/mutable_variable_aggregate.main.ConstProp.diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-05-17 15:39:35 +0200
committerOliver Scherer <github35764891676564198441@oli-obk.de>2020-08-11 17:09:15 +0200
commit307d0d8f51e65d83274ff61072e15401ab852496 (patch)
treec30029208b35527c1621d36aec2c16b38215126c /src/test/mir-opt/const_prop/mutable_variable_aggregate.main.ConstProp.diff
parent441fd2255763c2aeea616aeac61b2c795a4c5330 (diff)
downloadrust-307d0d8f51e65d83274ff61072e15401ab852496.tar.gz
rust-307d0d8f51e65d83274ff61072e15401ab852496.zip
move Deaggregate pass to post_borrowck_cleanup
Diffstat (limited to 'src/test/mir-opt/const_prop/mutable_variable_aggregate.main.ConstProp.diff')
-rw-r--r--src/test/mir-opt/const_prop/mutable_variable_aggregate.main.ConstProp.diff9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/test/mir-opt/const_prop/mutable_variable_aggregate.main.ConstProp.diff b/src/test/mir-opt/const_prop/mutable_variable_aggregate.main.ConstProp.diff
index f581b222c83..617702a5209 100644
--- a/src/test/mir-opt/const_prop/mutable_variable_aggregate.main.ConstProp.diff
+++ b/src/test/mir-opt/const_prop/mutable_variable_aggregate.main.ConstProp.diff
@@ -14,20 +14,19 @@
   
       bb0: {
           StorageLive(_1);                 // scope 0 at $DIR/mutable_variable_aggregate.rs:5:9: 5:14
-          _1 = (const 42_i32, const 43_i32); // scope 0 at $DIR/mutable_variable_aggregate.rs:5:17: 5:25
+          (_1.0: i32) = const 42_i32;      // scope 0 at $DIR/mutable_variable_aggregate.rs:5:17: 5:25
                                            // ty::Const
                                            // + ty: i32
                                            // + val: Value(Scalar(0x0000002a))
                                            // mir::Constant
--                                          // + span: $DIR/mutable_variable_aggregate.rs:5:18: 5:20
-+                                          // + span: $DIR/mutable_variable_aggregate.rs:5:17: 5:25
+                                           // + span: $DIR/mutable_variable_aggregate.rs:5:18: 5:20
                                            // + literal: Const { ty: i32, val: Value(Scalar(0x0000002a)) }
+          (_1.1: i32) = const 43_i32;      // scope 0 at $DIR/mutable_variable_aggregate.rs:5:17: 5:25
                                            // ty::Const
                                            // + ty: i32
                                            // + val: Value(Scalar(0x0000002b))
                                            // mir::Constant
--                                          // + span: $DIR/mutable_variable_aggregate.rs:5:22: 5:24
-+                                          // + span: $DIR/mutable_variable_aggregate.rs:5:17: 5:25
+                                           // + span: $DIR/mutable_variable_aggregate.rs:5:22: 5:24
                                            // + literal: Const { ty: i32, val: Value(Scalar(0x0000002b)) }
           (_1.1: i32) = const 99_i32;      // scope 1 at $DIR/mutable_variable_aggregate.rs:6:5: 6:13
                                            // ty::Const