From 0cfcefdff3c228390a60484318a6bcf376f1cda5 Mon Sep 17 00:00:00 2001 From: Scott Schafer Date: Thu, 6 Jun 2024 21:54:14 -0600 Subject: [PATCH] fix(lints): Add unknown_lints to lints list --- src/cargo/util/lints.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/cargo/util/lints.rs b/src/cargo/util/lints.rs index bd08846a51d..85c485326ff 100644 --- a/src/cargo/util/lints.rs +++ b/src/cargo/util/lints.rs @@ -13,7 +13,12 @@ use std::path::Path; use toml_edit::ImDocument; const LINT_GROUPS: &[LintGroup] = &[TEST_DUMMY_UNSTABLE]; -const LINTS: &[Lint] = &[IM_A_TEAPOT, IMPLICIT_FEATURES, UNUSED_OPTIONAL_DEPENDENCY]; +const LINTS: &[Lint] = &[ + IM_A_TEAPOT, + IMPLICIT_FEATURES, + UNKNOWN_LINTS, + UNUSED_OPTIONAL_DEPENDENCY, +]; pub fn analyze_cargo_lints_table( pkg: &Package,