@@ -276,7 +276,6 @@ mod question_mark;
276276mod ranges;
277277mod redundant_clone;
278278mod redundant_field_names;
279- mod redundant_pattern_matching;
280279mod redundant_pub_crate;
281280mod redundant_static_lifetimes;
282281mod reference;
@@ -622,11 +621,13 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
622621 & matches:: INFALLIBLE_DESTRUCTURING_MATCH ,
623622 & matches:: MATCH_AS_REF ,
624623 & matches:: MATCH_BOOL ,
624+ & matches:: MATCH_LIKE_MATCHES_MACRO ,
625625 & matches:: MATCH_OVERLAPPING_ARM ,
626626 & matches:: MATCH_REF_PATS ,
627627 & matches:: MATCH_SINGLE_BINDING ,
628628 & matches:: MATCH_WILDCARD_FOR_SINGLE_VARIANTS ,
629629 & matches:: MATCH_WILD_ERR_ARM ,
630+ & matches:: REDUNDANT_PATTERN_MATCHING ,
630631 & matches:: REST_PAT_IN_FULLY_BOUND_STRUCTS ,
631632 & matches:: SINGLE_MATCH ,
632633 & matches:: SINGLE_MATCH_ELSE ,
@@ -755,7 +756,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
755756 & ranges:: REVERSED_EMPTY_RANGES ,
756757 & redundant_clone:: REDUNDANT_CLONE ,
757758 & redundant_field_names:: REDUNDANT_FIELD_NAMES ,
758- & redundant_pattern_matching:: REDUNDANT_PATTERN_MATCHING ,
759759 & redundant_pub_crate:: REDUNDANT_PUB_CRATE ,
760760 & redundant_static_lifetimes:: REDUNDANT_STATIC_LIFETIMES ,
761761 & reference:: DEREF_ADDROF ,
@@ -954,7 +954,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
954954 store. register_late_pass ( || box missing_doc:: MissingDoc :: new ( ) ) ;
955955 store. register_late_pass ( || box missing_inline:: MissingInline ) ;
956956 store. register_late_pass ( || box if_let_some_result:: OkIfLet ) ;
957- store. register_late_pass ( || box redundant_pattern_matching:: RedundantPatternMatching ) ;
958957 store. register_late_pass ( || box partialeq_ne_impl:: PartialEqNeImpl ) ;
959958 store. register_late_pass ( || box unused_io_amount:: UnusedIoAmount ) ;
960959 let enum_variant_size_threshold = conf. enum_variant_size_threshold ;
@@ -1291,9 +1290,11 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
12911290 LintId :: of( & map_unit_fn:: RESULT_MAP_UNIT_FN ) ,
12921291 LintId :: of( & matches:: INFALLIBLE_DESTRUCTURING_MATCH ) ,
12931292 LintId :: of( & matches:: MATCH_AS_REF ) ,
1293+ LintId :: of( & matches:: MATCH_LIKE_MATCHES_MACRO ) ,
12941294 LintId :: of( & matches:: MATCH_OVERLAPPING_ARM ) ,
12951295 LintId :: of( & matches:: MATCH_REF_PATS ) ,
12961296 LintId :: of( & matches:: MATCH_SINGLE_BINDING ) ,
1297+ LintId :: of( & matches:: REDUNDANT_PATTERN_MATCHING ) ,
12971298 LintId :: of( & matches:: SINGLE_MATCH ) ,
12981299 LintId :: of( & matches:: WILDCARD_IN_OR_PATTERNS ) ,
12991300 LintId :: of( & mem_discriminant:: MEM_DISCRIMINANT_NON_ENUM ) ,
@@ -1383,7 +1384,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
13831384 LintId :: of( & ranges:: REVERSED_EMPTY_RANGES ) ,
13841385 LintId :: of( & redundant_clone:: REDUNDANT_CLONE ) ,
13851386 LintId :: of( & redundant_field_names:: REDUNDANT_FIELD_NAMES ) ,
1386- LintId :: of( & redundant_pattern_matching:: REDUNDANT_PATTERN_MATCHING ) ,
13871387 LintId :: of( & redundant_static_lifetimes:: REDUNDANT_STATIC_LIFETIMES ) ,
13881388 LintId :: of( & reference:: DEREF_ADDROF ) ,
13891389 LintId :: of( & reference:: REF_IN_DEREF ) ,
@@ -1484,8 +1484,10 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
14841484 LintId :: of( & manual_non_exhaustive:: MANUAL_NON_EXHAUSTIVE ) ,
14851485 LintId :: of( & map_clone:: MAP_CLONE ) ,
14861486 LintId :: of( & matches:: INFALLIBLE_DESTRUCTURING_MATCH ) ,
1487+ LintId :: of( & matches:: MATCH_LIKE_MATCHES_MACRO ) ,
14871488 LintId :: of( & matches:: MATCH_OVERLAPPING_ARM ) ,
14881489 LintId :: of( & matches:: MATCH_REF_PATS ) ,
1490+ LintId :: of( & matches:: REDUNDANT_PATTERN_MATCHING ) ,
14891491 LintId :: of( & matches:: SINGLE_MATCH ) ,
14901492 LintId :: of( & mem_replace:: MEM_REPLACE_OPTION_WITH_NONE ) ,
14911493 LintId :: of( & mem_replace:: MEM_REPLACE_WITH_DEFAULT ) ,
@@ -1522,7 +1524,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
15221524 LintId :: of( & ptr:: PTR_ARG ) ,
15231525 LintId :: of( & question_mark:: QUESTION_MARK ) ,
15241526 LintId :: of( & redundant_field_names:: REDUNDANT_FIELD_NAMES ) ,
1525- LintId :: of( & redundant_pattern_matching:: REDUNDANT_PATTERN_MATCHING ) ,
15261527 LintId :: of( & redundant_static_lifetimes:: REDUNDANT_STATIC_LIFETIMES ) ,
15271528 LintId :: of( & regex:: TRIVIAL_REGEX ) ,
15281529 LintId :: of( & returns:: NEEDLESS_RETURN ) ,
0 commit comments