chore: add rustc "Correctness" lints (#886)

This commit is contained in:
Alex Yusiuk
2025-07-25 12:51:30 -04:00
committed by GitHub
parent 8c574f254e
commit 721c680f9b
+4
View File
@@ -52,6 +52,10 @@ unused_unsafe = "warn"
missing_unsafe_on_extern = "warn"
unsafe_attr_outside_unsafe = "warn"
# == Correctness == #
ambiguous_negative_literals = "warn"
keyword_idents_2024 = "warn" # FIXME: remove when switched to 2024 edition
# == Style, readability == #
elided_lifetimes_in_paths = "warn" # https://quinedot.github.io/rust-learning/dont-hide.html
absolute_paths_not_starting_with_crate = "warn"