From d372f1674d4b7bdd7f265154de997f7e8aa8fed2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Mockers?= Date: Tue, 29 May 2018 10:19:16 +0200 Subject: [PATCH] move lint to restriction group --- clippy_lints/src/inherent_impl.rs | 2 +- clippy_lints/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clippy_lints/src/inherent_impl.rs b/clippy_lints/src/inherent_impl.rs index fb01f46949d..637ea917a8f 100644 --- a/clippy_lints/src/inherent_impl.rs +++ b/clippy_lints/src/inherent_impl.rs @@ -34,7 +34,7 @@ /// ``` declare_clippy_lint! { pub MULTIPLE_INHERENT_IMPL, - pedantic, + restriction, "Multiple inherent impl that could be grouped" } diff --git a/clippy_lints/src/lib.rs b/clippy_lints/src/lib.rs index 3b00e4fba48..d979d7afd11 100644 --- a/clippy_lints/src/lib.rs +++ b/clippy_lints/src/lib.rs @@ -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, -- 2.44.0