@@ -249,7 +249,7 @@ mod macro_use;
249
249
mod main_recursion;
250
250
mod map_clone;
251
251
mod map_unit_fn;
252
- mod match_vec_item ;
252
+ mod match_on_vec_items ;
253
253
mod matches;
254
254
mod mem_discriminant;
255
255
mod mem_forget;
@@ -630,7 +630,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
630
630
& map_clone:: MAP_CLONE ,
631
631
& map_unit_fn:: OPTION_MAP_UNIT_FN ,
632
632
& map_unit_fn:: RESULT_MAP_UNIT_FN ,
633
- & match_vec_item :: MATCH_VEC_ITEM ,
633
+ & match_on_vec_items :: MATCH_ON_VEC_ITEMS ,
634
634
& matches:: INFALLIBLE_DESTRUCTURING_MATCH ,
635
635
& matches:: MATCH_AS_REF ,
636
636
& matches:: MATCH_BOOL ,
@@ -1062,7 +1062,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1062
1062
store. register_late_pass ( || box future_not_send:: FutureNotSend ) ;
1063
1063
store. register_late_pass ( || box utils:: internal_lints:: CollapsibleCalls ) ;
1064
1064
store. register_late_pass ( || box if_let_mutex:: IfLetMutex ) ;
1065
- store. register_late_pass ( || box match_vec_item :: MatchVecItem ) ;
1065
+ store. register_late_pass ( || box match_on_vec_items :: MatchOnVecItems ) ;
1066
1066
1067
1067
store. register_group ( true , "clippy::restriction" , Some ( "clippy_restriction" ) , vec ! [
1068
1068
LintId :: of( & arithmetic:: FLOAT_ARITHMETIC ) ,
@@ -1280,7 +1280,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1280
1280
LintId :: of( & map_clone:: MAP_CLONE ) ,
1281
1281
LintId :: of( & map_unit_fn:: OPTION_MAP_UNIT_FN ) ,
1282
1282
LintId :: of( & map_unit_fn:: RESULT_MAP_UNIT_FN ) ,
1283
- LintId :: of( & match_vec_item :: MATCH_VEC_ITEM ) ,
1283
+ LintId :: of( & match_on_vec_items :: MATCH_ON_VEC_ITEMS ) ,
1284
1284
LintId :: of( & matches:: INFALLIBLE_DESTRUCTURING_MATCH ) ,
1285
1285
LintId :: of( & matches:: MATCH_AS_REF ) ,
1286
1286
LintId :: of( & matches:: MATCH_BOOL ) ,
@@ -1473,7 +1473,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1473
1473
LintId :: of( & loops:: WHILE_LET_ON_ITERATOR ) ,
1474
1474
LintId :: of( & main_recursion:: MAIN_RECURSION ) ,
1475
1475
LintId :: of( & map_clone:: MAP_CLONE ) ,
1476
- LintId :: of( & match_vec_item :: MATCH_VEC_ITEM ) ,
1476
+ LintId :: of( & match_on_vec_items :: MATCH_ON_VEC_ITEMS ) ,
1477
1477
LintId :: of( & matches:: INFALLIBLE_DESTRUCTURING_MATCH ) ,
1478
1478
LintId :: of( & matches:: MATCH_BOOL ) ,
1479
1479
LintId :: of( & matches:: MATCH_OVERLAPPING_ARM ) ,
0 commit comments