diff options
| author | Philipp Krones <hello@philkrones.com> | 2025-08-05 12:20:27 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-05 12:20:27 +0000 |
| commit | 4d1962c2826cbe2a1e243ee790f57079bd01305f (patch) | |
| tree | a34c1a01eb381fb27524e8ae218cc5c738f197ed | |
| parent | b98252f6caaf194f5d647c574f3415174f84d356 (diff) | |
| parent | cdee4f8e1df4289aca12450f460a2e385b214176 (diff) | |
Move `cognitive_complexity` lint from `nursery` to `restriction` (#15415)
changelog: [`cognitive_complexity`]: move the lint from `nursery` to the `restriction` r? @flip1995
| -rw-r--r-- | clippy_lints/src/cognitive_complexity.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/cognitive_complexity.rs b/clippy_lints/src/cognitive_complexity.rs index 518535e8c8b..8f1c0296524 100644 --- a/clippy_lints/src/cognitive_complexity.rs +++ b/clippy_lints/src/cognitive_complexity.rs @@ -35,7 +35,7 @@ declare_clippy_lint! { /// * [`too_many_lines`](https://rust-lang.github.io/rust-clippy/master/index.html#too_many_lines) #[clippy::version = "1.35.0"] pub COGNITIVE_COMPLEXITY, - nursery, + restriction, "functions that should be split up into multiple functions", @eval_always = true } |
