Skip to content

Commit d372f16

Browse files
committed
move lint to restriction group
1 parent 6a7204f commit d372f16

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clippy_lints/src/inherent_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ use syntax_pos::Span;
3434
/// ```
3535
declare_clippy_lint! {
3636
pub MULTIPLE_INHERENT_IMPL,
37-
pedantic,
37+
restriction,
3838
"Multiple inherent impl that could be grouped"
3939
}
4040

clippy_lints/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
426426
array_indexing::INDEXING_SLICING,
427427
assign_ops::ASSIGN_OPS,
428428
else_if_without_else::ELSE_IF_WITHOUT_ELSE,
429+
inherent_impl::MULTIPLE_INHERENT_IMPL,
429430
literal_representation::DECIMAL_LITERAL_REPRESENTATION,
430431
mem_forget::MEM_FORGET,
431432
methods::CLONE_ON_REF_PTR,
@@ -454,7 +455,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
454455
enum_variants::STUTTER,
455456
if_not_else::IF_NOT_ELSE,
456457
infinite_iter::MAYBE_INFINITE_ITER,
457-
inherent_impl::MULTIPLE_INHERENT_IMPL,
458458
items_after_statements::ITEMS_AFTER_STATEMENTS,
459459
matches::SINGLE_MATCH_ELSE,
460460
methods::FILTER_MAP,

0 commit comments

Comments
 (0)