]> git.lizzy.rs Git - rust.git/commit
Make `<*const T>::is_null` const fn
authorOliver Scherer <github35764891676564198441@oli-obk.de>
Thu, 30 Jul 2020 10:27:34 +0000 (12:27 +0200)
committerOliver Scherer <github35764891676564198441@oli-obk.de>
Tue, 11 Aug 2020 09:45:47 +0000 (11:45 +0200)
commit34c3c0dae5389b345e2a53991425972c02a98abc
treef2b7f7827c6a453ffce89f5487b595ec9ea54074
parent441fd2255763c2aeea616aeac61b2c795a4c5330
Make `<*const T>::is_null` const fn
library/core/src/ptr/const_ptr.rs
library/core/src/ptr/mut_ptr.rs
src/librustc_mir/interpret/intrinsics.rs
src/test/ui/consts/ptr_comparisons.rs [new file with mode: 0644]
src/test/ui/consts/ptr_comparisons.stderr [new file with mode: 0644]
src/test/ui/consts/ptr_is_null.rs [new file with mode: 0644]