add manual_dangling_ptr lint (#14107)
close #2177 changelog: [`manual_dangling_ptr`]: new lint
This commit is contained in:
commit
b46b311ee7
14 changed files with 283 additions and 11 deletions
|
|
@ -97,6 +97,7 @@ pub static LINTS: &[&crate::LintInfo] = &[
|
|||
crate::casts::FN_TO_NUMERIC_CAST_INFO,
|
||||
crate::casts::FN_TO_NUMERIC_CAST_ANY_INFO,
|
||||
crate::casts::FN_TO_NUMERIC_CAST_WITH_TRUNCATION_INFO,
|
||||
crate::casts::MANUAL_DANGLING_PTR_INFO,
|
||||
crate::casts::PTR_AS_PTR_INFO,
|
||||
crate::casts::PTR_CAST_CONSTNESS_INFO,
|
||||
crate::casts::REF_AS_PTR_INFO,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue