]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Rollup merge of #68335 - RalfJung:drop-in-place, r=Mark-Simulacrum
authorDylan DPC <dylan.dpc@gmail.com>
Mon, 20 Jan 2020 05:44:46 +0000 (11:14 +0530)
committerGitHub <noreply@github.com>
Mon, 20 Jan 2020 05:44:46 +0000 (11:14 +0530)
commit5d8edc99aabf5c69304b217daabf41b6bd813a41
tree0b60379849f524d1ef2f731675eae1a5e8e50f13
parent0dc2557c1202a89f10eec424bb2625bd1615319d
parent95934937bb32190c70ce48915cac14bb4609336d
Rollup merge of #68335 - RalfJung:drop-in-place, r=Mark-Simulacrum

Remove real_drop_in_place

In https://github.com/rust-lang/rust/commit/af9b057156f610df3528a502c668cfed99ce8a1a, I added `real_drop_in_place` because Stacked Borrows at the time couldn't handle transmuting of mutable references to raw pointers and back. Stacked Borrows 2, however, doesn't have any issue with these transmutes, so it is time to remove this hack again.