diff options
| author | bors <bors@rust-lang.org> | 2021-09-14 17:37:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-09-14 17:37:32 +0000 |
| commit | 2316f4da83a3952abca808f1f1b2c7ea0a9ee401 (patch) | |
| tree | ae732efcdeff72e2fd82bd22719604bcb3ab7e89 /compiler/rustc_codegen_llvm/src | |
| parent | 746a0051c3d61ef89ed8b8a118509fd407a69344 (diff) | |
| parent | c2783c1dcb6a61bb0fd8b6dec209c79136821a30 (diff) | |
| download | rust-2316f4da83a3952abca808f1f1b2c7ea0a9ee401.tar.gz rust-2316f4da83a3952abca808f1f1b2c7ea0a9ee401.zip | |
Auto merge of #7671 - dtolnay-contrib:singlecharnames, r=xFrednet
Downgrade many_single_char_names to pedantic As suggested by `@flip1995` in https://github.com/rust-lang/rust-clippy/issues/7666#issuecomment-918993215, by today's standards this lint would be considered `pedantic`. This is one of the most widely suppressed Clippy lints on crates.io according to https://github.com/dtolnay/noisy-clippy. In my opinion this lint is just too domain specific for Clippy to have reliable visibility into. Sure there are some cases where the author is just being lazy and could use a kick in the butt, but we're still left with an enormous number of suppressions where single chars are the most appropriate name. For example in the context of colors, a function using `h`, `s`, `l`, `r`, `g`, `b` is 100% sensible and spelling all those out is silly, but it's past the default lint threshold. --- changelog: Moved [`many_single_char_names`] to `pedantic`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
