Enable cast lints

This commit is contained in:
Andras Schmelczer 2025-07-05 10:13:11 +01:00
parent b7cd6aa272
commit 7d242e1999
4 changed files with 48 additions and 38 deletions

View file

@ -80,11 +80,6 @@ verbose_file_reads = "warn"
large_stack_arrays = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/13774
# TODO: fix these
cast_possible_truncation = { level = "allow", priority = 1 }
cast_sign_loss = { level = "allow", priority = 1 }
cast_possible_wrap = { level = "allow", priority = 1 }
# Silly lints
implicit_return = { level = "allow", priority = 1 }
question_mark_used = { level = "allow", priority = 1 }