Add disallowed types and methods in Clippy

This commit is contained in:
mo8it
2024-08-25 23:54:04 +02:00
parent b1898f6d8b
commit a1f0eaab54
2 changed files with 15 additions and 0 deletions
+2
View File
@@ -75,6 +75,8 @@ unstable_features = "forbid"
[workspace.lints.clippy]
empty_loop = "forbid"
disallowed-types = "deny"
disallowed-methods = "deny"
infinite_loop = "deny"
mem_forget = "deny"
dbg_macro = "warn"