about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-28 15:20:25 +0100
committerGitHub <noreply@github.com>2022-01-28 15:20:25 +0100
commit4f2e2ceeb7ee67e0645d68d89f20bc44340ad79d (patch)
treed29654ca7c8bd9eb471c6fc39bb89a9d11b846b4 /compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
parentada77e94ab9244dfb1b535b5340ebe4eefd80d7d (diff)
parent84c0c9d20dbe1d171e6aaf61b8e512d6dc78412f (diff)
downloadrust-4f2e2ceeb7ee67e0645d68d89f20bc44340ad79d.tar.gz
rust-4f2e2ceeb7ee67e0645d68d89f20bc44340ad79d.zip
Rollup merge of #93295 - ChrisDenton:tempdir-double-panic, r=dtolnay
Avoid double panics when using `TempDir` in tests

`TempDir` could panic on drop if `remove_dir_all` returns an error. If this happens while already panicking, the test process would abort and therefore not show the test results.

This PR tries to avoid such double panics.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs')
0 files changed, 0 insertions, 0 deletions