about summary refs log tree commit diff
path: root/src/test/mir-opt/const_prop/indirect.main.ConstProp.diff
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2020-09-16 00:21:21 +0100
committervarkor <github@varkor.com>2020-09-26 13:34:53 +0100
commit387e3ddded4e1e455b6ca6b59ea57938a9752ff2 (patch)
treeef1a361d1ec87ad71d69a7b609e81264457304b1 /src/test/mir-opt/const_prop/indirect.main.ConstProp.diff
parent94c789b275c2ec19c47dc3aea0fceed6a8af55b1 (diff)
downloadrust-387e3ddded4e1e455b6ca6b59ea57938a9752ff2.tar.gz
rust-387e3ddded4e1e455b6ca6b59ea57938a9752ff2.zip
Bless mir-opt tests
Diffstat (limited to 'src/test/mir-opt/const_prop/indirect.main.ConstProp.diff')
-rw-r--r--src/test/mir-opt/const_prop/indirect.main.ConstProp.diff4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/mir-opt/const_prop/indirect.main.ConstProp.diff b/src/test/mir-opt/const_prop/indirect.main.ConstProp.diff
index e37d0a3ed96..8c7b35887c9 100644
--- a/src/test/mir-opt/const_prop/indirect.main.ConstProp.diff
+++ b/src/test/mir-opt/const_prop/indirect.main.ConstProp.diff
@@ -15,7 +15,7 @@
           StorageLive(_2);                 // scope 0 at $DIR/indirect.rs:5:13: 5:25
 -         _2 = const 2_u32 as u8 (Misc);   // scope 0 at $DIR/indirect.rs:5:13: 5:25
 -         _3 = CheckedAdd(_2, const 1_u8); // scope 0 at $DIR/indirect.rs:5:13: 5:29
--         assert(!move (_3.1: bool), "attempt to compute `{} + {}` which would overflow", move _2, const 1_u8) -> bb1; // scope 0 at $DIR/indirect.rs:5:13: 5:29
+-         assert(!move (_3.1: bool), "attempt to compute `{} + {}`, which would overflow", move _2, const 1_u8) -> bb1; // scope 0 at $DIR/indirect.rs:5:13: 5:29
 +         _2 = const 2_u8;                 // scope 0 at $DIR/indirect.rs:5:13: 5:25
 +         _3 = const (3_u8, false);        // scope 0 at $DIR/indirect.rs:5:13: 5:29
 +                                          // ty::Const
@@ -24,7 +24,7 @@
 +                                          // mir::Constant
 +                                          // + span: $DIR/indirect.rs:5:13: 5:29
 +                                          // + literal: Const { ty: (u8, bool), val: Value(ByRef { alloc: Allocation { bytes: [3, 0], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [3], len: Size { raw: 2 } }, size: Size { raw: 2 }, align: Align { pow2: 0 }, mutability: Not, extra: () }, offset: Size { raw: 0 } }) }
-+         assert(!const false, "attempt to compute `{} + {}` which would overflow", const 2_u8, const 1_u8) -> bb1; // scope 0 at $DIR/indirect.rs:5:13: 5:29
++         assert(!const false, "attempt to compute `{} + {}`, which would overflow", const 2_u8, const 1_u8) -> bb1; // scope 0 at $DIR/indirect.rs:5:13: 5:29
       }
   
       bb1: {