rust/library/core
bors 8796e7a9cf Auto merge of #102315 - RalfJung:assert_unsafe_precondition, r=thomcc
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).
2022-10-08 17:59:45 +00:00
..
benches Use internal iteration in Iterator::{cmp_by, partial_cmp_by, eq_by} 2022-08-21 12:23:10 +02:00
primitive_docs
src Auto merge of #102315 - RalfJung:assert_unsafe_precondition, r=thomcc 2022-10-08 17:59:45 +00:00
tests make const_err a hard error 2022-10-07 18:08:49 +02:00
Cargo.toml