about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2022-05-20 14:03:04 +0200
committerGitHub <noreply@github.com>2022-05-20 14:03:04 +0200
commit9098f05b2605f15fa7b205f4e09f4d2bc8970a2c (patch)
tree35aa50f034b7a0af92101e4719a1a790beef8902 /compiler/rustc_mir_transform/src/coverage/debug.rs
parent706aa59efa9d419ada5e54249edd422bd02fe03a (diff)
parente24673502fbf4ae00b42362eed2cf915ba352325 (diff)
downloadrust-9098f05b2605f15fa7b205f4e09f4d2bc8970a2c.tar.gz
rust-9098f05b2605f15fa7b205f4e09f4d2bc8970a2c.zip
Rollup merge of #97188 - carbotaniuman:remove-null-assert, r=RalfJung
Remove unneeded null pointer asserts in ptr2int casts

This removes an assert that a pointer with address 0 has no provenance. This change is needed to support permissive provenance work in Miri, and seems justified by `ptr.with_addr(0)` working and a discussion on Zulip regarding LLVM semantics.

r? `@RalfJung`
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions