From: Pietro Albini Date: Thu, 25 Oct 2018 12:31:24 +0000 (+0200) Subject: Rollup merge of #55345 - RalfJung:no-null, r=oli-obk X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=5443f7b017eb2e8cbb259094c2b3f0d95911c7ea;p=rust.git Rollup merge of #55345 - RalfJung:no-null, r=oli-obk Remove is_null It was confusingly named (`is_zero` would have been better, as someone pointed out somewhere but I forgot who or where), and it didn't even reliably test for "is this value 0 at run-time" because out-of-bounds pointers *can* be 0. It's not used in rustc, and miri only really needs `is_null_ptr` and `to_bytes() == 0`, so let's just kill this method. r? @oli-obk --- 5443f7b017eb2e8cbb259094c2b3f0d95911c7ea