Skip to content

Commit dd81c91

Browse files
committed
Update mir-opt test output for new assert macro implementation.
1 parent f1fcc4d commit dd81c91

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/test/mir-opt/inst_combine_deref.do_not_miscompile.InstCombine.diff

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
let mut _8: bool; // in scope 0 at $DIR/inst_combine_deref.rs:60:5: 60:23
1111
let mut _9: bool; // in scope 0 at $DIR/inst_combine_deref.rs:60:13: 60:21
1212
let mut _10: i32; // in scope 0 at $DIR/inst_combine_deref.rs:60:13: 60:15
13-
let mut _11: !; // in scope 0 at $SRC_DIR/std/src/macros.rs:LL:COL
13+
let mut _11: !; // in scope 0 at $DIR/inst_combine_deref.rs:60:5: 60:23
1414
scope 1 {
1515
debug x => _1; // in scope 1 at $DIR/inst_combine_deref.rs:55:9: 55:10
1616
let _2: i32; // in scope 1 at $DIR/inst_combine_deref.rs:56:9: 56:10
@@ -69,11 +69,11 @@
6969
}
7070

7171
bb2: {
72-
StorageLive(_11); // scope 4 at $SRC_DIR/std/src/macros.rs:LL:COL
73-
begin_panic::<&str>(const "assertion failed: *y == 99"); // scope 4 at $SRC_DIR/std/src/macros.rs:LL:COL
72+
StorageLive(_11); // scope 4 at $DIR/inst_combine_deref.rs:60:5: 60:23
73+
core::panicking::panic(const "assertion failed: *y == 99"); // scope 4 at $DIR/inst_combine_deref.rs:60:5: 60:23
7474
// mir::Constant
75-
// + span: $SRC_DIR/std/src/macros.rs:LL:COL
76-
// + literal: Const { ty: fn(&str) -> ! {std::rt::begin_panic::<&str>}, val: Value(Scalar(<ZST>)) }
75+
// + span: $DIR/inst_combine_deref.rs:60:5: 60:23
76+
// + literal: Const { ty: fn(&'static str) -> ! {core::panicking::panic}, val: Value(Scalar(<ZST>)) }
7777
// ty::Const
7878
// + ty: &str
7979
// + val: Value(Slice { data: Allocation { bytes: [97, 115, 115, 101, 114, 116, 105, 111, 110, 32, 102, 97, 105, 108, 101, 100, 58, 32, 42, 121, 32, 61, 61, 32, 57, 57], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [67108863], len: Size { raw: 26 } }, size: Size { raw: 26 }, align: Align { pow2: 0 }, mutability: Not, extra: () }, start: 0, end: 26 })

0 commit comments

Comments
 (0)