rust/compiler
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-25 18:17:32 +01:00
2025-02-25 17:27:22 +00:00
2025-02-24 14:31:19 +01:00
2025-02-23 23:11:00 +07:00