From 986f89dca9729b949451fa68edd0ddb90c5defbb Mon Sep 17 00:00:00 2001 From: Fangdun Tsai Date: Sun, 26 May 2024 04:14:17 +0800 Subject: [PATCH] clippy: ignore clippy::lint_groups_priority lint --- Cargo.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ccf6d12b..48deb840 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -147,12 +147,14 @@ non_ascii_idents = "warn" unreachable_pub = "warn" missing_debug_implementations = "warn" missing_docs = "warn" +lint_groups_priority = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/12270 [workspace.lints.clippy] -all = "deny" -pedantic = "deny" +all = "warn" +pedantic = "warn" missing_errors_doc = "warn" needless_pass_by_value = "warn" module_name_repetitions = { level = "allow", priority = 1 } too_many_lines = { level = "allow", priority = 1 } type_complexity = { level = "allow", priority = 1 } +lint_groups_priority = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/12270