From f2b82b6b66cb66c8578cc9f9cdcbdca591e938b6 Mon Sep 17 00:00:00 2001 From: Jonathan Gilchrist Date: Sun, 1 Dec 2024 20:56:57 +0000 Subject: [PATCH] Set priority of Rust lint groups lower than lints --- Cargo.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1ce3e80..7003973 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 }