Closed
Description
rust-lang/rust#45527 gives us std::ptr::dangling
which allows replacing 1 as _
with std::ptr::dangling()
. Once that is stable, it should be a warn lint. Until then an allow lint is ok.
Should probably live together with the zero_ptr lint