Try to write the panic message with a single write_all
call
This commit is contained in:
parent
eeeff9a66c
commit
4bf85c25ec
85 changed files with 153 additions and 20 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -5,6 +5,7 @@ LL | fn wrong()
|
|||
| ^ expected one of `->`, `where`, or `{`
|
||||
|
||||
|
||||
|
||||
aborting due to `-Z treat-err-as-bug=1`
|
||||
stack backtrace:
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue