mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-01 13:34:38 +00:00
CFI: Fix drop and drop_in_place Fix drop and drop_in_place by transforming self of drop and drop_in_place methods into a Drop trait objects. This was split off from https://github.com/rust-lang/rust/pull/116404. cc `@compiler-errors` `@workingjubilee`