mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-18 04:26:45 +00:00
interpret/provenance_map: consistently use range_is_empty https://github.com/rust-lang/rust/pull/137704 started using this for per-ptr provenance; let's be consistent and use it also for the per-byte provenance check. Also rename the methods to avoid having both "get" and "is_empty" in the name. r? ````@oli-obk````
For more information about how rustc works, see the rustc dev guide.