Fix test output.

This commit is contained in:
Mara Bos 2023-07-27 12:46:07 +02:00
parent 0e729404da
commit 893bb8e1ce
4 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,5 @@
thread $NAME panicked at 'ow', $DIR/thread_local_const_drop_panic.rs:LL:CC
thread $NAME panicked at $DIR/thread_local_const_drop_panic.rs:LL:CC:
ow
fatal runtime error: thread local panicked on drop
error: abnormal termination: the program aborted execution

View File

@ -1,4 +1,5 @@
thread $NAME panicked at 'ow', $DIR/thread_local_drop_panic.rs:LL:CC
thread $NAME panicked at $DIR/thread_local_drop_panic.rs:LL:CC:
ow
fatal runtime error: thread local panicked on drop
error: abnormal termination: the program aborted execution

View File

@ -6,7 +6,7 @@
// normalize-stderr-test "note: compiler flags.*\n\n" -> ""
// normalize-stderr-test "note: rustc.*running on.*" -> "note: rustc {version} running on {platform}"
// normalize-stderr-test "thread.*panicked at .*, compiler.*" -> "thread panicked at 'aborting due to `-Z treat-err-as-bug`'"
// normalize-stderr-test "thread.*panicked at compiler.*" -> ""
// normalize-stderr-test " +\d{1,}: .*\n" -> ""
// normalize-stderr-test " + at .*\n" -> ""
// normalize-stderr-test ".*note: Some details are omitted.*\n" -> ""

View File

@ -4,7 +4,7 @@ error: expected one of `->`, `where`, or `{`, found `<eof>`
LL | fn wrong()
| ^ expected one of `->`, `where`, or `{`
thread 'rustc' panicked at compiler/rustc_errors/src/lib.rs:1711:30:
aborting due to `-Z treat-err-as-bug=1`
stack backtrace: