Files
rust/library/alloc/tests
Dylan DPC f24d00d8b3 Rollup merge of #101642 - SkiFire13:fix-inplace-collection-leak, r=the8472
Fix in-place collection leak when remaining element destructor panic

Fixes #101628

cc `@the8472`

I went for the drop guard route, placing it immediately before the `forget_allocation_drop_remaining` call and after the comment, as to signal they are closely related.

I also updated the test to check for the leak, though the only change really needed was removing the leak clean up for miri since now that's no longer leaked.
2022-10-04 16:11:01 +05:30
..
2021-05-20 19:42:29 -07:00
2022-03-10 14:36:51 +00:00
2020-07-27 19:51:13 -05:00
2022-06-27 10:50:56 -04:00
2021-05-20 19:42:29 -07:00