Matthias Krüger fff53f1dbb
Rollup merge of #141076 - the8472:fix-zip-panic-safety2, r=workingjubilee
fix Zip unsoundness (again)

Some history: The Zip TrustedRandomAccess specialization has tried to emulate the side-effects of the naive implementation for a long time, including backwards iteration. #82292 tried to fix unsoundness (#82291) in that side-effect-preservation code, but this introduced some panic-safety unsoundness (#86443), but the fix #86452 didn't fix it for nested Zip iterators (#137255).

Rather than piling yet another fix ontop of this heap of fixes this PR reduces the number of cases in which side-effects will be preserved; the necessary API guarantee change was approved in #83791 but we haven't made use of that so far.

fixes #137255
2025-07-19 08:55:33 +02:00
..
2025-06-12 12:53:14 -04:00
2025-07-11 10:41:24 -04:00
2025-06-16 03:14:44 +00:00
2025-07-09 16:37:11 +00:00
2025-06-19 12:08:24 +00:00
2025-06-25 17:06:49 -07:00
2025-07-11 10:31:25 -04:00
2025-07-13 14:34:40 +02:00
2025-06-13 01:16:36 +02:00