about summary refs log tree commit diff
path: root/src/libstd/alloc.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-04-01 22:25:23 +0200
committerGitHub <noreply@github.com>2020-04-01 22:25:23 +0200
commit7d4d450da96677cb6b8f90af13ada38c74f73632 (patch)
tree09ff9388a0a0a757eed3e6f73b646ed784241816 /src/libstd/alloc.rs
parent37b2e3fe56b863dc782b3e5d8743cc9d54394d65 (diff)
parentf1817785384384d8b24b500a8ce5776d53cc0ab4 (diff)
downloadrust-7d4d450da96677cb6b8f90af13ada38c74f73632.tar.gz
rust-7d4d450da96677cb6b8f90af13ada38c74f73632.zip
Rollup merge of #70662 - eddyb:compiletest-stdout-fix, r=Mark-Simulacrum
compiletest: don't use `std::io::stdout()`, as it bypasses `set_print`.

This PR undoes a change made during #69916, which became unnecessary during review but was left in by accident, and which isn't correct due to `libtest` using `std::io::set_print`, which overwrites the `println!` behavior but *not* `writeln!(std::io::stdout(), ...)`.

The effect of using `writeln!(std::io::stdout(), ...)` was that the diff output would show *while* running the tests, instead of at the end, when failing tests are listed.

r? @Mark-Simulacrum cc @oli-obk
Diffstat (limited to 'src/libstd/alloc.rs')
0 files changed, 0 insertions, 0 deletions