about summary refs log tree commit diff
path: root/src/test/mir-opt/const_prop/optimizes_into_variable.main.ConstProp.32bit.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/optimizes_into_variable.main.ConstProp.32bit.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/optimizes_into_variable.main.ConstProp.32bit.diff')
-rw-r--r--src/test/mir-opt/const_prop/optimizes_into_variable.main.ConstProp.32bit.diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/mir-opt/const_prop/optimizes_into_variable.main.ConstProp.32bit.diff b/src/test/mir-opt/const_prop/optimizes_into_variable.main.ConstProp.32bit.diff
index df802294c0d..537f1b6253c 100644
--- a/src/test/mir-opt/const_prop/optimizes_into_variable.main.ConstProp.32bit.diff
+++ b/src/test/mir-opt/const_prop/optimizes_into_variable.main.ConstProp.32bit.diff
@@ -29,7 +29,7 @@
 +         _2 = const (4_i32, false);       // scope 0 at $DIR/optimizes_into_variable.rs:12:13: 12:18
 +                                          // mir::Constant
 +                                          // + span: $DIR/optimizes_into_variable.rs:12:13: 12:18
-+                                          // + literal: Const { ty: (i32, bool), val: Value(ByRef { alloc: Allocation { bytes: [4, 0, 0, 0, 0, 0, 0, 0], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [31], len: Size { raw: 8 } }, size: Size { raw: 8 }, align: Align { pow2: 2 }, mutability: Not, extra: () }, offset: Size { raw: 0 } }) }
++                                          // + literal: Const { ty: (i32, bool), val: Value(ByRef { alloc: Allocation { bytes: [4, 0, 0, 0, 0, 0, 0, 0], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [31], len: Size { raw: 8 } }, align: Align { pow2: 2 }, mutability: Not, extra: () }, offset: Size { raw: 0 } }) }
 +         assert(!const false, "attempt to compute `{} + {}`, which would overflow", const 2_i32, const 2_i32) -> bb1; // scope 0 at $DIR/optimizes_into_variable.rs:12:13: 12:18
       }