New lints: impossible_double_const_comparisons and ineffective_double_const_comparisons
This commit is contained in:
parent
ab1281f54a
commit
046d3df35e
9 changed files with 506 additions and 21 deletions
|
|
@ -518,7 +518,9 @@ pub(crate) static LINTS: &[&crate::LintInfo] = &[
|
|||
crate::operators::FLOAT_CMP_CONST_INFO,
|
||||
crate::operators::FLOAT_EQUALITY_WITHOUT_ABS_INFO,
|
||||
crate::operators::IDENTITY_OP_INFO,
|
||||
crate::operators::IMPOSSIBLE_DOUBLE_CONST_COMPARISONS_INFO,
|
||||
crate::operators::INEFFECTIVE_BIT_MASK_INFO,
|
||||
crate::operators::INEFFECTIVE_DOUBLE_CONST_COMPARISONS_INFO,
|
||||
crate::operators::INTEGER_DIVISION_INFO,
|
||||
crate::operators::MISREFACTORED_ASSIGN_OP_INFO,
|
||||
crate::operators::MODULO_ARITHMETIC_INFO,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue