diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2022-05-20 14:03:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-20 14:03:04 +0200 |
| commit | 9098f05b2605f15fa7b205f4e09f4d2bc8970a2c (patch) | |
| tree | 35aa50f034b7a0af92101e4719a1a790beef8902 /compiler/rustc_mir_transform/src/coverage/debug.rs | |
| parent | 706aa59efa9d419ada5e54249edd422bd02fe03a (diff) | |
| parent | e24673502fbf4ae00b42362eed2cf915ba352325 (diff) | |
| download | rust-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
