add a companion lint to no_effect
with suggestions for partially effective statements
This commit is contained in:
parent
d4e11acc1f
commit
1e897f1552
22 changed files with 161 additions and 47 deletions
|
@ -519,6 +519,7 @@ pub fn plugin_registrar(reg: &mut Registry) {
|
|||
neg_multiply::NEG_MULTIPLY,
|
||||
new_without_default::NEW_WITHOUT_DEFAULT,
|
||||
no_effect::NO_EFFECT,
|
||||
no_effect::UNNECESSARY_OPERATION,
|
||||
non_expressive_names::MANY_SINGLE_CHAR_NAMES,
|
||||
open_options::NONSENSICAL_OPEN_OPTIONS,
|
||||
overflow_check_conditional::OVERFLOW_CHECK_CONDITIONAL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue