Skip to content

Commit

Permalink
Set priority of Rust lint groups lower than lints
Browse files Browse the repository at this point in the history
  • Loading branch information
jgilchrist committed Dec 1, 2024
1 parent 6772177 commit f2b82b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ paste = "1.0.15"
[lints.rust]
static_mut_refs = "allow"

future_incompatible = "warn"
let_underscore = "warn"
nonstandard_style = "warn"
rust_2018_idioms = "warn"
future_incompatible = { level = "warn", priority = -1 }
let_underscore = { level = "warn", priority = -1 }
nonstandard_style = { level = "warn", priority = -1 }
rust_2018_idioms = { level = "warn", priority = -1 }

[lints.clippy]
pedantic = { level = "warn", priority = -1 }
Expand Down

0 comments on commit f2b82b6

Please sign in to comment.