This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 204805a
committed
Auto merge of rust-lang#123266 - RalfJung:catch-panic, r=workingjubilee
catch_panic: warn about panicking payload drop
Warns about the footgun in rust-lang#86027.
Will be unnecessary if panics escaping from drop leads to abort (rust-lang/rfcs#3288). But until that is enforced everywhere, let's warn users about this.1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
129 | 132 | | |
130 | 133 | | |
131 | 134 | | |
| |||
0 commit comments