rust-lang/rust-clippy

Move `excessive_nesting` to `pedantic`

开放

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

 (3 条评论) (0 个反应) (1 位负责人)Rust (1,391 个派生)batch import
A-categorygood first issue

仓库指标

星标
 (10,406 个星标)
PR 合并指标
 (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.

贡献者指南