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>2021-05-16 19:44:19 +0200
committerRalf Jung <post@ralfj.de>2021-05-17 13:30:25 +0200
commit5d71c67423f32a091b8632ed4f533d5dacd4e67f (patch)
treeaf834b7a657a7f8f63e46f1ef7602156844b152d /src/test/mir-opt/const_prop/mutable_variable_aggregate.main.ConstProp.diff
parent7962b5ae4504d8a76a11521d5d3f5fd89d474806 (diff)
downloadrust-5d71c67423f32a091b8632ed4f533d5dacd4e67f.tar.gz
rust-5d71c67423f32a091b8632ed4f533d5dacd4e67f.zip
mir-opt bless for Size field being removed from Allocation
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.diff2
1 files changed, 1 insertions, 1 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 b22eab05005..d94c4f6fb26 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
@@ -22,7 +22,7 @@
 +         _2 = const (42_i32, 99_i32);     // scope 1 at $DIR/mutable_variable_aggregate.rs:7:13: 7:14
 +                                          // 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 } }) }
++                                          // + 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 } }, align: Align { pow2: 2 }, mutability: Not, extra: () }, offset: Size { raw: 0 } }) }
           nop;                             // scope 0 at $DIR/mutable_variable_aggregate.rs:4:11: 8:2
           StorageDead(_2);                 // scope 1 at $DIR/mutable_variable_aggregate.rs:8:1: 8:2
           StorageDead(_1);                 // scope 0 at $DIR/mutable_variable_aggregate.rs:8:1: 8:2