Skip to content

Commit 2c99d4b

Browse files
committed
Disable buggy clippy::lint_groups_priority lint
``` error: lint group `rust_2018_idioms` has the same priority (0) as a lint --> Cargo.toml:64:1 | 64 | rust_2018_idioms = "warn" | ^^^^^^^^^^^^^^^^ ------ has an implicit priority of 0 65 | single_use_lifetimes = "warn" | -------------------- has the same priority as this lint | = note: the order of the lints in the table is ignored by Cargo = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#lint_groups_priority = note: `#[deny(clippy::lint_groups_priority)]` on by default help: to have lints override the group set `rust_2018_idioms` to a lower priority | 64 | rust_2018_idioms = { level = "warn", priority = -1 } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```
1 parent ea3e795 commit 2c99d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ unexpected_cfgs = { level = "warn", check-cfg = [
6969
] }
7070
unreachable_pub = "warn"
7171
# unsafe_op_in_unsafe_fn = "warn" # Set at crate-level instead since https://github.com/rust-lang/rust/pull/100081 is not available on MSRV
72-
7372
[workspace.lints.clippy]
7473
# Suppress buggy or noisy clippy lints
7574
declare_interior_mutable_const = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/7665
75+
lint_groups_priority = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/12920

0 commit comments

Comments
 (0)