You've already forked lint-policy
Update for rust 1.98
This commit is contained in:
+6
-3
@@ -109,7 +109,6 @@ fn-params-excessive-bools = "allow"
|
||||
fn-to-numeric-cast-any = "warn"
|
||||
format-collect = "warn"
|
||||
format-push-string = "warn"
|
||||
from-iter-instead-of-collect = "warn"
|
||||
future-not-send = "warn"
|
||||
get-unwrap = "warn"
|
||||
host-endian-bytes = "allow"
|
||||
@@ -336,6 +335,7 @@ unreadable-literal = "warn"
|
||||
unsafe-derive-deserialize = "warn"
|
||||
unseparated-literal-suffix = "warn"
|
||||
unused-async = "warn"
|
||||
unused-async-trait-impl = "warn"
|
||||
unused-peekable = "warn"
|
||||
unused-result-ok = "warn"
|
||||
unused-rounding = "warn"
|
||||
@@ -354,6 +354,7 @@ volatile-composites = "warn"
|
||||
while-float = "warn"
|
||||
wildcard-enum-match-arm = "warn"
|
||||
wildcard-imports = "warn"
|
||||
with-capacity-zero = "warn"
|
||||
zero-sized-map-values = "warn"
|
||||
|
||||
[workspace.lints.rust]
|
||||
@@ -380,6 +381,7 @@ bad-asm-style = "warn"
|
||||
binary-asm-labels = "deny"
|
||||
bindings-with-variant-name = "deny"
|
||||
break-with-label-and-loop = "warn"
|
||||
c-void-returns = "warn"
|
||||
clashing-extern-declarations = "warn"
|
||||
closure-returning-async-block = "warn"
|
||||
confusable-idents = "warn"
|
||||
@@ -428,6 +430,7 @@ invalid-from-utf8-unchecked = "deny"
|
||||
invalid-nan-comparisons = "warn"
|
||||
invalid-null-arguments = "deny"
|
||||
invalid-reference-casting = "deny"
|
||||
invalid-runtime-symbol-definitions = "deny"
|
||||
invalid-value = "warn"
|
||||
irrefutable-let-patterns = "warn"
|
||||
large-assignments = "warn"
|
||||
@@ -467,6 +470,7 @@ single-use-lifetimes = "warn"
|
||||
special-module-name = "warn"
|
||||
stable-features = "warn"
|
||||
suspicious-double-ref-op = "warn"
|
||||
suspicious-runtime-symbol-definitions = "warn"
|
||||
text-direction-codepoint-in-comment = "deny"
|
||||
text-direction-codepoint-in-literal = "deny"
|
||||
trivial-bounds = "warn"
|
||||
@@ -508,8 +512,7 @@ while-true = "warn"
|
||||
# unstable lints
|
||||
# default-overrides-default-fields = "deny"
|
||||
# deprecated-llvm-intrinsic = "warn"
|
||||
# fuzzy-provenance-casts = "deny"
|
||||
# lossy-provenance-casts = "deny"
|
||||
# implicit-provenance-casts = "deny"
|
||||
# multiple-supertrait-upcastable = "warn"
|
||||
# must-not-suspend = "warn"
|
||||
# non-exhaustive-omitted-patterns = "warn"
|
||||
|
||||
Reference in New Issue
Block a user