Lint casting integers to pointers #2177
Labels
A-lint
Area: New lints
good-first-issue
These issues are a good way to get started with Clippy
T-middle
Type: Probably requires verifiying types
rust-lang/rust#45527 gives us
std::ptr::dangling
which allows replacing1 as _
withstd::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
The text was updated successfully, but these errors were encountered: