mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 07:13:24 +03:00
9098f05b26
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`