]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Auto merge of #69509 - RalfJung:debug-assert-write, r=eddyb
authorbors <bors@rust-lang.org>
Fri, 20 Mar 2020 19:02:32 +0000 (19:02 +0000)
committerbors <bors@rust-lang.org>
Fri, 20 Mar 2020 19:02:32 +0000 (19:02 +0000)
commit1057dc97afce39ff6a224966ece3ed438af4c1f5
tree3ae6e64d6e60e9aeac52df17f5a1cb4ba37688af
parent2835ca65845c5fac8da2a2612a06b12ad2f4c77c
parentc95f08affac33aa86c9c39110e7d717d2a5e3d33
Auto merge of #69509 - RalfJung:debug-assert-write, r=eddyb

debug-assert ptr sanity in ptr::write

This is a re-submission of the parts that we removed from https://github.com/rust-lang/rust/pull/69208 due to ["interesting" test failures](https://github.com/rust-lang/rust/pull/69208#issuecomment-591310437).

Fixes https://github.com/rust-lang/rust/issues/53871
r? @Mark-Simulacrum @eddyb