move lint to restriction group
This commit is contained in:
parent
6a7204f32a
commit
d372f1674d
2 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ use syntax_pos::Span;
|
|||
/// ```
|
||||
declare_clippy_lint! {
|
||||
pub MULTIPLE_INHERENT_IMPL,
|
||||
pedantic,
|
||||
restriction,
|
||||
"Multiple inherent impl that could be grouped"
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -426,6 +426,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
|
|||
array_indexing::INDEXING_SLICING,
|
||||
assign_ops::ASSIGN_OPS,
|
||||
else_if_without_else::ELSE_IF_WITHOUT_ELSE,
|
||||
inherent_impl::MULTIPLE_INHERENT_IMPL,
|
||||
literal_representation::DECIMAL_LITERAL_REPRESENTATION,
|
||||
mem_forget::MEM_FORGET,
|
||||
methods::CLONE_ON_REF_PTR,
|
||||
|
|
@ -454,7 +455,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
|
|||
enum_variants::STUTTER,
|
||||
if_not_else::IF_NOT_ELSE,
|
||||
infinite_iter::MAYBE_INFINITE_ITER,
|
||||
inherent_impl::MULTIPLE_INHERENT_IMPL,
|
||||
items_after_statements::ITEMS_AFTER_STATEMENTS,
|
||||
matches::SINGLE_MATCH_ELSE,
|
||||
methods::FILTER_MAP,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue