rust-lang / rust-lang/rust-clippy

Move `excessive_nesting` to `pedantic`

Open
#14,923 4 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

A-category good first issue
Dominant language
Rust
Stars
13.5k
Forks
2.2k
Avg merge
2d 10h
Merged PRs (30d)
32

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.