Skip to content

Commit 0cfcefd

Browse files
committed
fix(lints): Add unknown_lints to lints list
1 parent 10b7d38 commit 0cfcefd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/cargo/util/lints.rs

+6-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ use std::path::Path;
1313
use toml_edit::ImDocument;
1414

1515
const LINT_GROUPS: &[LintGroup] = &[TEST_DUMMY_UNSTABLE];
16-
const LINTS: &[Lint] = &[IM_A_TEAPOT, IMPLICIT_FEATURES, UNUSED_OPTIONAL_DEPENDENCY];
16+
const LINTS: &[Lint] = &[
17+
IM_A_TEAPOT,
18+
IMPLICIT_FEATURES,
19+
UNKNOWN_LINTS,
20+
UNUSED_OPTIONAL_DEPENDENCY,
21+
];
1722

1823
pub fn analyze_cargo_lints_table(
1924
pkg: &Package,

0 commit comments

Comments
 (0)