rust-lang/rust-clippy

Move `excessive_nesting` to `pedantic`

Open

#14 923 ouverte le 30 mai 2025

Voir sur GitHub
 (3 commentaires) (0 réactions) (1 assigné)Rust (1 391 forks)batch import
A-categorygood first issue

Métriques du dépôt

Stars
 (10 406 stars)
Métriques de merge PR
 (Merge moyen 16j 6h) (79 PRs mergées en 30 j)

Description

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.

Guide contributeur