@@ -277,7 +277,6 @@ mod question_mark;
277277mod ranges;
278278mod redundant_clone;
279279mod redundant_field_names;
280- mod redundant_pattern_matching;
281280mod redundant_pub_crate;
282281mod redundant_static_lifetimes;
283282mod reference;
@@ -623,11 +622,13 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
623622 & matches:: INFALLIBLE_DESTRUCTURING_MATCH ,
624623 & matches:: MATCH_AS_REF ,
625624 & matches:: MATCH_BOOL ,
625+ & matches:: MATCH_LIKE_MATCHES_MACRO ,
626626 & matches:: MATCH_OVERLAPPING_ARM ,
627627 & matches:: MATCH_REF_PATS ,
628628 & matches:: MATCH_SINGLE_BINDING ,
629629 & matches:: MATCH_WILDCARD_FOR_SINGLE_VARIANTS ,
630630 & matches:: MATCH_WILD_ERR_ARM ,
631+ & matches:: REDUNDANT_PATTERN_MATCHING ,
631632 & matches:: REST_PAT_IN_FULLY_BOUND_STRUCTS ,
632633 & matches:: SINGLE_MATCH ,
633634 & matches:: SINGLE_MATCH_ELSE ,
@@ -757,7 +758,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
757758 & ranges:: REVERSED_EMPTY_RANGES ,
758759 & redundant_clone:: REDUNDANT_CLONE ,
759760 & redundant_field_names:: REDUNDANT_FIELD_NAMES ,
760- & redundant_pattern_matching:: REDUNDANT_PATTERN_MATCHING ,
761761 & redundant_pub_crate:: REDUNDANT_PUB_CRATE ,
762762 & redundant_static_lifetimes:: REDUNDANT_STATIC_LIFETIMES ,
763763 & reference:: DEREF_ADDROF ,
@@ -956,7 +956,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
956956 store. register_late_pass ( || box missing_doc:: MissingDoc :: new ( ) ) ;
957957 store. register_late_pass ( || box missing_inline:: MissingInline ) ;
958958 store. register_late_pass ( || box if_let_some_result:: OkIfLet ) ;
959- store. register_late_pass ( || box redundant_pattern_matching:: RedundantPatternMatching ) ;
960959 store. register_late_pass ( || box partialeq_ne_impl:: PartialEqNeImpl ) ;
961960 store. register_late_pass ( || box unused_io_amount:: UnusedIoAmount ) ;
962961 let enum_variant_size_threshold = conf. enum_variant_size_threshold ;
@@ -1295,9 +1294,11 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
12951294 LintId :: of( & map_unit_fn:: RESULT_MAP_UNIT_FN ) ,
12961295 LintId :: of( & matches:: INFALLIBLE_DESTRUCTURING_MATCH ) ,
12971296 LintId :: of( & matches:: MATCH_AS_REF ) ,
1297+ LintId :: of( & matches:: MATCH_LIKE_MATCHES_MACRO ) ,
12981298 LintId :: of( & matches:: MATCH_OVERLAPPING_ARM ) ,
12991299 LintId :: of( & matches:: MATCH_REF_PATS ) ,
13001300 LintId :: of( & matches:: MATCH_SINGLE_BINDING ) ,
1301+ LintId :: of( & matches:: REDUNDANT_PATTERN_MATCHING ) ,
13011302 LintId :: of( & matches:: SINGLE_MATCH ) ,
13021303 LintId :: of( & matches:: WILDCARD_IN_OR_PATTERNS ) ,
13031304 LintId :: of( & mem_discriminant:: MEM_DISCRIMINANT_NON_ENUM ) ,
@@ -1387,7 +1388,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
13871388 LintId :: of( & ranges:: REVERSED_EMPTY_RANGES ) ,
13881389 LintId :: of( & redundant_clone:: REDUNDANT_CLONE ) ,
13891390 LintId :: of( & redundant_field_names:: REDUNDANT_FIELD_NAMES ) ,
1390- LintId :: of( & redundant_pattern_matching:: REDUNDANT_PATTERN_MATCHING ) ,
13911391 LintId :: of( & redundant_static_lifetimes:: REDUNDANT_STATIC_LIFETIMES ) ,
13921392 LintId :: of( & reference:: DEREF_ADDROF ) ,
13931393 LintId :: of( & reference:: REF_IN_DEREF ) ,
@@ -1488,8 +1488,10 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
14881488 LintId :: of( & manual_non_exhaustive:: MANUAL_NON_EXHAUSTIVE ) ,
14891489 LintId :: of( & map_clone:: MAP_CLONE ) ,
14901490 LintId :: of( & matches:: INFALLIBLE_DESTRUCTURING_MATCH ) ,
1491+ LintId :: of( & matches:: MATCH_LIKE_MATCHES_MACRO ) ,
14911492 LintId :: of( & matches:: MATCH_OVERLAPPING_ARM ) ,
14921493 LintId :: of( & matches:: MATCH_REF_PATS ) ,
1494+ LintId :: of( & matches:: REDUNDANT_PATTERN_MATCHING ) ,
14931495 LintId :: of( & matches:: SINGLE_MATCH ) ,
14941496 LintId :: of( & mem_replace:: MEM_REPLACE_OPTION_WITH_NONE ) ,
14951497 LintId :: of( & mem_replace:: MEM_REPLACE_WITH_DEFAULT ) ,
@@ -1526,7 +1528,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
15261528 LintId :: of( & ptr:: PTR_ARG ) ,
15271529 LintId :: of( & question_mark:: QUESTION_MARK ) ,
15281530 LintId :: of( & redundant_field_names:: REDUNDANT_FIELD_NAMES ) ,
1529- LintId :: of( & redundant_pattern_matching:: REDUNDANT_PATTERN_MATCHING ) ,
15301531 LintId :: of( & redundant_static_lifetimes:: REDUNDANT_STATIC_LIFETIMES ) ,
15311532 LintId :: of( & regex:: TRIVIAL_REGEX ) ,
15321533 LintId :: of( & returns:: NEEDLESS_RETURN ) ,
0 commit comments