about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/constructor.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-31 18:34:26 +0000
committerbors <bors@rust-lang.org>2024-03-31 18:34:26 +0000
commit204805a0923d765494edf643acc16c531788b0f0 (patch)
tree5c8f6c4f4ea2430d465053fa3ebf5100e4fb079d /compiler/rustc_pattern_analysis/src/constructor.rs
parentbf71daedc29e7a240261acd1516378047e311a6f (diff)
parent42972f52de2aedbc8cc96a3f4b28c4330822aecd (diff)
downloadrust-204805a0923d765494edf643acc16c531788b0f0.tar.gz
rust-204805a0923d765494edf643acc16c531788b0f0.zip
Auto merge of #123266 - RalfJung:catch-panic, r=workingjubilee
catch_panic: warn about panicking payload drop

Warns about the footgun in https://github.com/rust-lang/rust/issues/86027.

Will be unnecessary if panics escaping from drop leads to abort (https://github.com/rust-lang/rfcs/pull/3288). But until that is enforced everywhere, let's warn users about this.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/constructor.rs')
0 files changed, 0 insertions, 0 deletions