about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-08-27 06:12:00 +0000
committerbors <bors@rust-lang.org>2023-08-27 06:12:00 +0000
commitf320f42c593b4353ea47448805f009ca0646cb06 (patch)
treeabc8466dcf4e631db31bf3533f8ca59258013b13 /compiler/rustc_llvm/llvm-wrapper
parente877e2a2c9a39103410ab94a7db4747af4497585 (diff)
parent2bccf1e296cf0d6c061b8ec1a6a777c7eecd93e9 (diff)
downloadrust-f320f42c593b4353ea47448805f009ca0646cb06.tar.gz
rust-f320f42c593b4353ea47448805f009ca0646cb06.zip
Auto merge of #114969 - kpreid:dropdoc, r=Mark-Simulacrum
Go into more detail about panicking in drop.

This patch was sitting around in my drafts. I don't recall the motivation, but I think it was someone expressing confusion over “will likely abort” (since, in fact, a panicking drop _not_ caused by dropping while panicking will predictably _not_ abort).

I hope that the new text will leave people well-informed about why not to panic and when it is reasonable to panic.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions