-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
A-lintArea: New lintsArea: New lintsT-middleType: Probably requires verifiying typesType: Probably requires verifiying typesgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy
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
elichai
Metadata
Metadata
Assignees
Labels
A-lintArea: New lintsArea: New lintsT-middleType: Probably requires verifiying typesType: Probably requires verifiying typesgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy