mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 23:03:06 +03:00
7b73b2126d
`vec_recycle`: implementation Tracking issue: rust-lang/rust#148227 Going with the `TransmuteFrom` approach suggested in https://github.com/rust-lang/libs-team/issues/674#issuecomment-3457795183, but a bit simplified. Currently does not work in some places where it should due to the limitations of the current implementation of the transmutability analysis: https://github.com/rust-lang/rust/issues/148227#issuecomment-3478099591