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:
authorYenlin Chen <3822365+hencrice@users.noreply.github.com>2020-12-23 18:55:37 +0000
committerYenlin Chen <3822365+hencrice@users.noreply.github.com>2020-12-23 18:55:37 +0000
commitf459b0fea5723010bf1654d8073389fd0a0263d1 (patch)
tree477397b5424e4a2840f9704c8a443f137f9d494c /src/test/mir-opt/const_prop/mutable_variable_aggregate.main.ConstProp.diff
parentb66eb696af9ef1952f2582b2b8ec07156868b2f6 (diff)
downloadrust-f459b0fea5723010bf1654d8073389fd0a0263d1.tar.gz
rust-f459b0fea5723010bf1654d8073389fd0a0263d1.zip
Addressed feedbacks
Also updated the mir-opt test output files.
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.diff3
1 files changed, 0 insertions, 3 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 204c1acecf5..12b02e90345 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
@@ -20,9 +20,6 @@
           StorageLive(_2);                 // scope 1 at $DIR/mutable_variable_aggregate.rs:7:9: 7:10
 -         _2 = _1;                         // scope 1 at $DIR/mutable_variable_aggregate.rs:7:13: 7:14
 +         _2 = const (42_i32, 99_i32);     // scope 1 at $DIR/mutable_variable_aggregate.rs:7:13: 7:14
-+                                          // ty::Const
-+                                          // + ty: (i32, i32)
-+                                          // + val: Value(ByRef { alloc: Allocation { bytes: [42, 0, 0, 0, 99, 0, 0, 0], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [255], len: Size { raw: 8 } }, size: Size { raw: 8 }, align: Align { pow2: 2 }, mutability: Not, extra: () }, offset: Size { raw: 0 } })
 +                                          // mir::Constant
 +                                          // + span: $DIR/mutable_variable_aggregate.rs:7:13: 7:14
 +                                          // + literal: Const { ty: (i32, i32), val: Value(ByRef { alloc: Allocation { bytes: [42, 0, 0, 0, 99, 0, 0, 0], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [255], len: Size { raw: 8 } }, size: Size { raw: 8 }, align: Align { pow2: 2 }, mutability: Not, extra: () }, offset: Size { raw: 0 } }) }