diff options
| author | Markus Everling <markuseverling@gmail.com> | 2024-04-11 15:31:10 +0000 |
|---|---|---|
| committer | Markus Everling <markuseverling@gmail.com> | 2024-05-07 19:30:34 +0000 |
| commit | ffe8510e3d989f35163ac5406af82e1c9dd8f769 (patch) | |
| tree | 0e380e2ea672c0ab4b134e65dc5c51aba3620fff /compiler/rustc_const_eval/src/errors.rs | |
| parent | 0f40f14b61430792cc0ea316f424685041e8443e (diff) | |
| download | rust-ffe8510e3d989f35163ac5406af82e1c9dd8f769.tar.gz rust-ffe8510e3d989f35163ac5406af82e1c9dd8f769.zip | |
Fix `VecDeque::shrink_to` UB when `handle_alloc_error` unwinds.
Luckily it's comparatively simple to just restore the `VecDeque` into a valid state on unwinds.
Diffstat (limited to 'compiler/rustc_const_eval/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
