mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
80c3bec9fe
Previously the debug assertions in the implementation of catch_unwind used to verify consistency of the panic count by checking that the count is zero just before leaving the function. This incorrectly assumed that no panic was in progress when entering `catch_unwind`.