Matthias Krüger 18c47ad639
Rollup merge of #136579 - bjorn3:fix_thinvec_ext_ub, r=BoxyUwU
Fix UB in ThinVec::flat_map_in_place

`thin_vec.as_ptr()` goes through the `Deref` impl of `ThinVec`, which will not allow access to any memory as we did call `set_len(0)` first.

Found in the process of investigating https://github.com/rust-lang/rust/issues/135870.
2025-02-27 08:56:36 +01:00
..
2025-02-08 22:12:13 +00:00
2025-02-08 22:12:13 +00:00
2025-02-18 09:32:44 -08:00
2025-02-17 21:35:52 -05:00
2025-02-18 09:32:44 -08:00