File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ declare_clippy_lint! {
80
80
/// ```
81
81
declare_clippy_lint ! {
82
82
pub INDEXING_SLICING ,
83
- pedantic ,
83
+ restriction ,
84
84
"indexing/slicing usage"
85
85
}
86
86
Original file line number Diff line number Diff line change @@ -407,6 +407,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>) {
407
407
arithmetic:: INTEGER_ARITHMETIC ,
408
408
assign_ops:: ASSIGN_OPS ,
409
409
else_if_without_else:: ELSE_IF_WITHOUT_ELSE ,
410
+ indexing_slicing:: INDEXING_SLICING ,
410
411
inherent_impl:: MULTIPLE_INHERENT_IMPL ,
411
412
literal_representation:: DECIMAL_LITERAL_REPRESENTATION ,
412
413
mem_forget:: MEM_FORGET ,
@@ -437,7 +438,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>) {
437
438
enum_variants:: PUB_ENUM_VARIANT_NAMES ,
438
439
enum_variants:: STUTTER ,
439
440
if_not_else:: IF_NOT_ELSE ,
440
- indexing_slicing:: INDEXING_SLICING ,
441
441
infinite_iter:: MAYBE_INFINITE_ITER ,
442
442
items_after_statements:: ITEMS_AFTER_STATEMENTS ,
443
443
matches:: SINGLE_MATCH_ELSE ,
You can’t perform that action at this time.
0 commit comments