Skip to content

Commit 772bf47

Browse files
committed
Fix more error tests
1 parent 27c0731 commit 772bf47

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tools/miri/tests/fail/dangling_pointers/dangling_primitive.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ help: ALLOC was deallocated here:
1717
LL | };
1818
| ^
1919
= note: BACKTRACE (of the first span):
20-
= note: inside `main` at RUSTLIB/std/src/macros.rs:LL:CC
20+
= note: inside `main` at RUSTLIB/std/src/std_macros.rs:LL:CC
2121
= note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
2222

2323
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace

src/tools/miri/tests/fail/function_calls/return_pointer_on_unwind.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ LL | dbg!(x.0);
1212
= help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
1313
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
1414
= note: BACKTRACE:
15-
= note: inside `main` at RUSTLIB/std/src/macros.rs:LL:CC
15+
= note: inside `main` at RUSTLIB/std/src/std_macros.rs:LL:CC
1616
= note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
1717

1818
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace

0 commit comments

Comments
 (0)