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.

貢獻者指南