]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/clippy/clippy_dev/src/update_lints.rs
New upstream version 1.55.0+dfsg1
[rustc.git] / src / tools / clippy / clippy_dev / src / update_lints.rs
index edf6c5f57a49766d44f8a353c55937ac0b015354..db467c26f15466de263ddd1c5a00bac7b1f995e5 100644 (file)
@@ -92,7 +92,10 @@ pub fn run(update_mode: UpdateMode) {
         || {
             // clippy::all should only include the following lint groups:
             let all_group_lints = usable_lints.iter().filter(|l| {
-                l.group == "correctness" || l.group == "style" || l.group == "complexity" || l.group == "perf"
+                matches!(
+                    &*l.group,
+                    "correctness" | "suspicious" | "style" | "complexity" | "perf"
+                )
             });
 
             gen_lint_group_list(all_group_lints)