Open
Description
In rust-lang/rust#67290 we added drop guards to collections that will attempt to continue dropping in case dropping an item unwinds. That means collections will either not leak if an item unwinds during drop, or will abort.
In rust-lang/rust#75644 we've looked at preventing leaks if an unwind happens partway through initializing a MaybeUninit
(usually for arrays).
We should come up with some concrete guidance on how we want to deal with leaks and unwinding
Metadata
Metadata
Assignees
Labels
No labels