1
Fork 0

Try to write the panic message with a single write_all call

This commit is contained in:
John Kåre Alsaker 2024-03-15 19:09:24 +01:00 committed by The 8472
parent eeeff9a66c
commit 4bf85c25ec
85 changed files with 153 additions and 20 deletions

View file

@ -26,6 +26,7 @@ stdout 2
stderr:
stderr 1
stderr 2
thread 'main' panicked at $DIR/failed-doctest-output-windows.rs:7:1:
oh no
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

View file

@ -26,6 +26,7 @@ stdout 2
stderr:
stderr 1
stderr 2
thread 'main' panicked at $DIR/failed-doctest-output.rs:7:1:
oh no
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

View file

@ -5,6 +5,7 @@ LL | fn wrong()
| ^ expected one of `->`, `where`, or `{`
aborting due to `-Z treat-err-as-bug=1`
stack backtrace:

View file

@ -8,6 +8,7 @@ failures:
Test executable failed (exit status: 101).
stderr:
thread 'main' panicked at remapped_path/remap-path-prefix-failed-doctest-output.rs:3:1:
oh no
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace