rust-lang/rust-clippy

Move `excessive_nesting` to `pedantic`

Open

#14,923 创建于 2025年5月30日

在 GitHub 查看
 (3 评论) (0 反应) (1 负责人)Rust (1,391 fork)batch import
A-categorygood first issue

仓库指标

Star
 (10,406 star)
PR 合并指标
 (平均合并 19天 22小时) (30 天内合并 113 个 PR)

描述

This was originally put in complexity but with a useless value set as the config option.

I don't really see this as being beneficial anymore as other lints, such as too_many_lines, could do the same, but are completely fine in pedantic and are probably acted upon when using #![warn(clippy::pedantic). I think we should do the same with a value like 6, which seems in the same general ballpark as too_many_lines' 100.

贡献者指南