Skip to content

Commit f30a859

Browse files
committed
Auto merge of #11867 - y21:implied_bounds_in_impls_complexity, r=Jarcho
Move `implied_bounds_in_impls` back to complexity This lint was originally in the complexity category when I PR'd it. It was then moved to nursery by me due to a number of issues (a false positive, an invalid suggestion and an ICE), but that was probably an overreaction and all of the issues were fixed quickly after. This is a useful lint imo and there hasn't been any issues with it in a few months, so I say we should give it another try and move it back to complexity. I did a lintcheck run on the top 400 crates and all of them are legitimate, with 18 warnings. Most of them are from anstyle having a `impl Display + Copy + Clone` return type, or the bitvec crate with a return type like `impl Iterator + DoubleEndedIterator`. changelog: Move [`implied_bounds_in_impls`] to `complexity` (Now warn-by-default) [#11867](#11867)
2 parents 2c56b4f + 5689a86 commit f30a859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/implied_bounds_in_impls.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ declare_clippy_lint! {
4545
/// ```
4646
#[clippy::version = "1.74.0"]
4747
pub IMPLIED_BOUNDS_IN_IMPLS,
48-
nursery,
48+
complexity,
4949
"specifying bounds that are implied by other bounds in `impl Trait` type"
5050
}
5151
declare_lint_pass!(ImpliedBoundsInImpls => [IMPLIED_BOUNDS_IN_IMPLS]);

0 commit comments

Comments
 (0)