From e01f38f3a845db609f034c84c017f77b4a62c61e Mon Sep 17 00:00:00 2001 From: Alex Yusiuk <55661041+RRRadicalEdward@users.noreply.github.com> Date: Wed, 20 Aug 2025 18:27:38 +0300 Subject: [PATCH] chore: add trivial_numeric_casts rustc style/readability lint (#925) --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 19f3208a..0a68bf8f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -68,6 +68,7 @@ noop_method_call = "warn" macro_use_extern_crate = "warn" redundant_imports = "warn" redundant_lifetimes = "warn" +trivial_numeric_casts = "warn" # missing_docs = "warn" # TODO: NOTE(@CBenoit): we probably want to ensure this in core tier crates only # == Compile-time / optimization == #