add tests, add base bone for the new lint

This commit is contained in:
J-ZhengLi
2022-02-25 18:08:52 +08:00
parent 7b2896a8fc
commit 30fb8229e1
9 changed files with 251 additions and 0 deletions

View File

@@ -134,6 +134,7 @@ store.register_group(true, "clippy::all", Some("clippy_all"), vec![
LintId::of(matches::MATCH_OVERLAPPING_ARM),
LintId::of(matches::MATCH_REF_PATS),
LintId::of(matches::MATCH_SINGLE_BINDING),
LintId::of(matches::NOP_MATCH),
LintId::of(matches::REDUNDANT_PATTERN_MATCHING),
LintId::of(matches::SINGLE_MATCH),
LintId::of(matches::WILDCARD_IN_OR_PATTERNS),