Skip to content

Commit 35ca558

Browse files
committed
Bless miri tests after applying unsafe_op_in_unsafe_fn
1 parent fc96678 commit 35ca558

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/tools/miri/tests/fail/panic/panic_abort1.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE`
66
error: abnormal termination: the program aborted execution
77
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
88
|
9-
LL | ABORT();
9+
LL | unsafe { ABORT(); }
1010
| ^ the program aborted execution
1111
|
1212
= note: BACKTRACE:

src/tools/miri/tests/fail/panic/panic_abort2.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE`
66
error: abnormal termination: the program aborted execution
77
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
88
|
9-
LL | ABORT();
9+
LL | unsafe { ABORT(); }
1010
| ^ the program aborted execution
1111
|
1212
= note: BACKTRACE:

src/tools/miri/tests/fail/panic/panic_abort3.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE`
66
error: abnormal termination: the program aborted execution
77
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
88
|
9-
LL | ABORT();
9+
LL | unsafe { ABORT(); }
1010
| ^ the program aborted execution
1111
|
1212
= note: BACKTRACE:

src/tools/miri/tests/fail/panic/panic_abort4.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE`
66
error: abnormal termination: the program aborted execution
77
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
88
|
9-
LL | ABORT();
9+
LL | unsafe { ABORT(); }
1010
| ^ the program aborted execution
1111
|
1212
= note: BACKTRACE:

0 commit comments

Comments
 (0)