mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-23 16:55:14 +00:00
add a few more assert_unsafe_precondition Add debug-assertion checking for `ptr.read()`, `ptr.write(_)`, and `unreachable_unchecked.` This is quite useful for [cargo-careful](https://github.com/RalfJung/cargo-careful).