diff --git a/crates/ide-db/src/generated/lints.rs b/crates/ide-db/src/generated/lints.rs index be595ec0f608..af462567ff15 100644 --- a/crates/ide-db/src/generated/lints.rs +++ b/crates/ide-db/src/generated/lints.rs @@ -1790,13 +1790,6 @@ pub const DEFAULT_LINTS: &[Lint] = &[ warn_since: None, deny_since: None, }, - Lint { - label: "warnings", - description: r##"lint group for: all lints that are set to issue warnings"##, - default_severity: Severity::Allow, - warn_since: None, - deny_since: None, - }, ]; pub const DEFAULT_LINT_GROUPS: &[LintGroup] = &[ diff --git a/xtask/src/codegen/lints.rs b/xtask/src/codegen/lints.rs index 788ae8d6c1dd..1aee4ea80159 100644 --- a/xtask/src/codegen/lints.rs +++ b/xtask/src/codegen/lints.rs @@ -352,6 +352,9 @@ fn generate_lint_descriptor(sh: &Shell, buf: &mut String) { push_lint_completion(buf, name, lint); } for (name, (group, _)) in &lint_groups { + if name == "warnings" { + continue; + } push_lint_completion(buf, name, group); } buf.push_str("];\n\n");