Add ref_as_ptr lint
Author: Marcin Serwin <marcin.serwin0@protonmail.com>
This commit is contained in:
parent
bc962c246a
commit
a3baebcb31
17 changed files with 588 additions and 10 deletions
|
|
@ -96,6 +96,7 @@ pub(crate) static LINTS: &[&crate::LintInfo] = &[
|
|||
crate::casts::FN_TO_NUMERIC_CAST_WITH_TRUNCATION_INFO,
|
||||
crate::casts::PTR_AS_PTR_INFO,
|
||||
crate::casts::PTR_CAST_CONSTNESS_INFO,
|
||||
crate::casts::REF_AS_PTR_INFO,
|
||||
crate::casts::UNNECESSARY_CAST_INFO,
|
||||
crate::casts::ZERO_PTR_INFO,
|
||||
crate::checked_conversions::CHECKED_CONVERSIONS_INFO,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue