rust-lang/rust-clippy

Move `excessive_nesting` to `pedantic`

Open

#14.923 geöffnet am 30. Mai 2025

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Rust (1.391 Forks)batch import
A-categorygood first issue

Repository-Metriken

Stars
 (10.406 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 16T 6h) (79 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide