diff options
| author | Aaron Kofsky <aaronko@umich.edu> | 2022-06-04 20:12:26 -0400 |
|---|---|---|
| committer | Aaron Kofsky <aaronko@umich.edu> | 2022-06-04 20:12:26 -0400 |
| commit | 1421cffca17f8904664d036996768d5880604f71 (patch) | |
| tree | 9306f7ef3d6260b6fcf35b8296464f35264302fd | |
| parent | 7e485bf4ddd3f56c76a572757d60c24dcfaa7dbe (diff) | |
| download | rust-1421cffca17f8904664d036996768d5880604f71.tar.gz rust-1421cffca17f8904664d036996768d5880604f71.zip | |
Add `let_underscore` lint group to `GROUP_DESCRIPTIONS`.
| -rw-r--r-- | src/tools/lint-docs/src/groups.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/lint-docs/src/groups.rs b/src/tools/lint-docs/src/groups.rs index 9696e35b796..2a923a61b0a 100644 --- a/src/tools/lint-docs/src/groups.rs +++ b/src/tools/lint-docs/src/groups.rs @@ -8,6 +8,7 @@ use std::process::Command; /// Descriptions of rustc lint groups. static GROUP_DESCRIPTIONS: &[(&str, &str)] = &[ ("unused", "Lints that detect things being declared but not used, or excess syntax"), + ("let-underscore", "Lints that detect wildcard let bindings that are likely to be invalid"), ("rustdoc", "Rustdoc-specific lints"), ("rust-2018-idioms", "Lints to nudge you toward idiomatic features of Rust 2018"), ("nonstandard-style", "Violation of standard naming conventions"), |
