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