Add unneeded-wildcard-pattern lint
This commit is contained in:
@@ -825,6 +825,7 @@ pub fn register_plugins(reg: &mut rustc_driver::plugin::Registry<'_>, conf: &Con
|
||||
misc_early::REDUNDANT_CLOSURE_CALL,
|
||||
misc_early::REDUNDANT_PATTERN,
|
||||
misc_early::UNNEEDED_FIELD_PATTERN,
|
||||
misc_early::UNNEEDED_WILDCARD_PATTERN,
|
||||
misc_early::ZERO_PREFIXED_LITERAL,
|
||||
mut_reference::UNNECESSARY_MUT_PASSED,
|
||||
mutex_atomic::MUTEX_ATOMIC,
|
||||
@@ -1044,6 +1045,7 @@ pub fn register_plugins(reg: &mut rustc_driver::plugin::Registry<'_>, conf: &Con
|
||||
methods::USELESS_ASREF,
|
||||
misc::SHORT_CIRCUIT_STATEMENT,
|
||||
misc_early::REDUNDANT_CLOSURE_CALL,
|
||||
misc_early::UNNEEDED_WILDCARD_PATTERN,
|
||||
misc_early::ZERO_PREFIXED_LITERAL,
|
||||
needless_bool::BOOL_COMPARISON,
|
||||
needless_bool::NEEDLESS_BOOL,
|
||||
|
||||
Reference in New Issue
Block a user