diff --git a/Cargo.toml b/Cargo.toml index 9d1f83d3f2cf..1950eb2c8d3a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -543,7 +543,7 @@ default-members = [ [workspace.lints.rust] suspicious_double_ref_op = { level = "allow", priority = 2 } # `substrate_runtime` is a common `cfg` condition name used in the repo. -unexpected_cfgs = { level = "allow", check-cfg = ['cfg(substrate_runtime)'] } +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(substrate_runtime)'] } [workspace.lints.clippy] all = { level = "allow", priority = 0 }