Skip to content

Commit 4daad92

Browse files
committed
Clippy: Doesn't block CI runs on warnings
Switched to `deny` in the `Cargo.toml` instead.
1 parent 84a226c commit 4daad92

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎Cargo.toml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ members = [
1212
version = "0.36.0"
1313

1414
[workspace.lints.clippy]
15-
cargo = { level = "warn", priority = -1 }
15+
cargo = { level = "deny", priority = -1 }
1616
cargo_common_metadata = "allow"
1717

18-
complexity = { level = "warn", priority = -1 }
18+
complexity = { level = "deny", priority = -1 }
1919
correctness = { level = "deny", priority = -1 }
2020
# nursery, new untested lints
2121
nursery = { level = "allow", priority = -1 }
2222

23-
pedantic = { level = "warn", priority = -1 }
24-
perf = { level = "warn", priority = -1 }
23+
pedantic = { level = "deny", priority = -1 }
24+
perf = { level = "deny", priority = -1 }
2525
# restriction, lints that can enforce a coherent code style
2626
restriction = { level = "allow", priority = -1 }
27-
style = { level = "warn", priority = -1 }
28-
suspicious = { level = "warn", priority = -1 }
27+
style = { level = "deny", priority = -1 }
28+
suspicious = { level = "deny", priority = -1 }
2929

3030
# Prevent duplicate versions of crates from being used in the workspace. If an easy fix is not
3131
# possible, you can add the crate to the `allowed-duplicate-crates` list in `clippy.toml`.

0 commit comments

Comments
 (0)