From 3e6d68b4605b681f0c78d806354ec33a5b60b023 Mon Sep 17 00:00:00 2001 From: Kevin Reid Date: Sun, 21 Jul 2024 16:34:10 -0700 Subject: [PATCH] Lint: temporarily disable `unused_qualifications`. This is so I can use the Rust 1.80 pre-release. When it's actually released, we should update to use the prelude `size_of` path and reenable this lint. --- Cargo.toml | 3 ++- all-is-cubes-wasm/Cargo.toml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 682a80556..981b2f7ba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -159,7 +159,8 @@ rust.trivial_numeric_casts = "warn" rust.unnameable_types = "warn" rust.unused_extern_crates = "warn" rust.unused_lifetimes = "warn" -rust.unused_qualifications = "warn" +# TODO: Reenable unused_qualifications when Rust 1.80 is released and we've updated our `mem::size_of` calls. +# rust.unused_qualifications = "warn" # This lint has false positives on dev-dependencies. Occasionally turn it on to audit non-dev deps. # rust.unused_crate_dependencies = "warn" diff --git a/all-is-cubes-wasm/Cargo.toml b/all-is-cubes-wasm/Cargo.toml index f636c2a81..c3e22a27a 100644 --- a/all-is-cubes-wasm/Cargo.toml +++ b/all-is-cubes-wasm/Cargo.toml @@ -98,7 +98,8 @@ rust.trivial_numeric_casts = "warn" rust.unnameable_types = "warn" rust.unused_extern_crates = "warn" rust.unused_lifetimes = "warn" -rust.unused_qualifications = "warn" +# TODO: Reenable unused_qualifications when Rust 1.80 is released and we've updated our `mem::size_of` calls. +# rust.unused_qualifications = "warn" # This lint has false positives on dev-dependencies. Occasionally turn it on to audit non-dev deps. # rust.unused_crate_dependencies = "warn"