diff --git a/clippy_lints/src/trait_bounds.rs b/clippy_lints/src/trait_bounds.rs index bf4c5d65d..edb91d617 100644 --- a/clippy_lints/src/trait_bounds.rs +++ b/clippy_lints/src/trait_bounds.rs @@ -24,7 +24,7 @@ declare_clippy_lint! { /// pub fn foo(t: T) where T: Copy + Clone {} /// ``` pub TYPE_REPETITION_IN_BOUNDS, - complexity, + pedantic, "Types are repeated unnecessary in trait bounds use `+` instead of using `T: _, T: _`" }