We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49dff2c commit c1e5740Copy full SHA for c1e5740
clippy_lints/src/trait_bounds.rs
@@ -24,7 +24,7 @@ declare_clippy_lint! {
24
/// pub fn foo<T>(t: T) where T: Copy + Clone {}
25
/// ```
26
pub TYPE_REPETITION_IN_BOUNDS,
27
- complexity,
+ pedantic,
28
"Types are repeated unnecessary in trait bounds use `+` instead of using `T: _, T: _`"
29
}
30
0 commit comments