@@ -548,6 +548,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
548
548
attrs:: INLINE_ALWAYS ,
549
549
attrs:: MISMATCHED_TARGET_OS ,
550
550
attrs:: USELESS_ATTRIBUTE ,
551
+ avoidable_slice_indexing:: AVOIDABLE_SLICE_INDEXING ,
551
552
await_holding_invalid:: AWAIT_HOLDING_LOCK ,
552
553
await_holding_invalid:: AWAIT_HOLDING_REFCELL_REF ,
553
554
bit_mask:: BAD_BIT_MASK ,
@@ -920,7 +921,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
920
921
shadow:: SHADOW_UNRELATED ,
921
922
single_component_path_imports:: SINGLE_COMPONENT_PATH_IMPORTS ,
922
923
size_of_in_element_count:: SIZE_OF_IN_ELEMENT_COUNT ,
923
- avoidable_slice_indexing:: AVOIDABLE_SLICE_INDEXING ,
924
924
slow_vector_initialization:: SLOW_VECTOR_INITIALIZATION ,
925
925
stable_sort_primitive:: STABLE_SORT_PRIMITIVE ,
926
926
strings:: STRING_ADD ,
@@ -1072,6 +1072,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1072
1072
1073
1073
store. register_group ( true , "clippy::pedantic" , Some ( "clippy_pedantic" ) , vec ! [
1074
1074
LintId :: of( attrs:: INLINE_ALWAYS ) ,
1075
+ LintId :: of( avoidable_slice_indexing:: AVOIDABLE_SLICE_INDEXING ) ,
1075
1076
LintId :: of( await_holding_invalid:: AWAIT_HOLDING_LOCK ) ,
1076
1077
LintId :: of( await_holding_invalid:: AWAIT_HOLDING_REFCELL_REF ) ,
1077
1078
LintId :: of( bit_mask:: VERBOSE_BIT_MASK ) ,
@@ -1148,7 +1149,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1148
1149
LintId :: of( ref_option_ref:: REF_OPTION_REF ) ,
1149
1150
LintId :: of( semicolon_if_nothing_returned:: SEMICOLON_IF_NOTHING_RETURNED ) ,
1150
1151
LintId :: of( shadow:: SHADOW_UNRELATED ) ,
1151
- LintId :: of( avoidable_slice_indexing:: AVOIDABLE_SLICE_INDEXING ) ,
1152
1152
LintId :: of( strings:: STRING_ADD_ASSIGN ) ,
1153
1153
LintId :: of( trait_bounds:: TRAIT_DUPLICATION_IN_BOUNDS ) ,
1154
1154
LintId :: of( trait_bounds:: TYPE_REPETITION_IN_BOUNDS ) ,
0 commit comments