Skip to content

Commit

Permalink
fix(lints): Add unknown_lints to lints list
Browse files Browse the repository at this point in the history
  • Loading branch information
Muscraft committed Jun 7, 2024
1 parent 10b7d38 commit 0cfcefd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/cargo/util/lints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0cfcefd

Please sign in to comment.