rust-lang/rust-clippy

Move `excessive_nesting` to `pedantic`

オープン

#14,923 opened on 2025/05/30

 (3 件のコメント) (0 件のリアクション) (1 人の担当者)Rust (1,391 件のフォーク)batch import
A-categorygood first issue

Repository metrics

Stars
 (10,406 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド