about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-11-25 02:49:28 +0000
committerbors <bors@rust-lang.org>2020-11-25 02:49:28 +0000
commit3f7ccb4cf59ba79a656f07179aac36e4580a8706 (patch)
tree424975069ecd2c26227641fa2a7f06ea5e06658d /compiler/rustc_mir/src/transform/coverage/debug.rs
parent1c389ffeff814726dec325f0f2b0c99107df2673 (diff)
parenta5064618cb788b458034c2604348c67c50343004 (diff)
downloadrust-3f7ccb4cf59ba79a656f07179aac36e4580a8706.tar.gz
rust-3f7ccb4cf59ba79a656f07179aac36e4580a8706.zip
Auto merge of #76688 - yokodake:patch-2, r=kodrAus
Document unsafety in core::slice::memchr

Contributes to #66219

Note sure if that's good enough, especially for the `align_to` call.
The docs only mention transmuting and I don't think that everything related to reference lifetimes and state validity mentioned in the [nomicon](https://doc.rust-lang.org/nomicon/transmutes.html) are relevant here.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions