1
Fork 0

add a companion lint to no_effect with suggestions for partially effective statements

This commit is contained in:
Oliver Schneider 2016-05-13 16:43:47 +02:00
parent d4e11acc1f
commit 1e897f1552
22 changed files with 161 additions and 47 deletions

View file

@ -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,