about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2018-10-25 14:31:24 +0200
committerGitHub <noreply@github.com>2018-10-25 14:31:24 +0200
commit5443f7b017eb2e8cbb259094c2b3f0d95911c7ea (patch)
treecd59a07265f79bb895b8dfbde64d6edd90f9ece1 /src/libsyntax/parse
parent83906ec6adcb839f79099a33d739b44f5b694b6a (diff)
parentcbe6b2298a83e70b06498d1d623b3f15c645e1f8 (diff)
downloadrust-5443f7b017eb2e8cbb259094c2b3f0d95911c7ea.tar.gz
rust-5443f7b017eb2e8cbb259094c2b3f0d95911c7ea.zip
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
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions