From f3481aaf5b2be3366d2b9422f838806d75349a2c Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Fri, 27 Feb 2026 23:37:00 +0900 Subject: [PATCH] Update allowed lint list --- Cargo.toml | 5 ++--- tools/manifest-schema/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 83a59899..ee50c5e2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,12 +30,12 @@ unused_trait_names = "warn" # Suppress buggy or noisy clippy lints bool_assert_comparison = { level = "allow", priority = 1 } borrow_as_ptr = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/8286 -cast_lossless = { level = "allow", priority = 1 } # https://godbolt.org/z/Pv6vbGG6E +cast_lossless = { level = "allow", priority = 1 } # suggested code has poor codegen with -C opt-level=0 https://godbolt.org/z/GzTxzbd9q +collapsible_match = { level = "allow", priority = 1 } declare_interior_mutable_const = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/7665 doc_markdown = { level = "allow", priority = 1 } float_cmp = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/7725 incompatible_msrv = { level = "allow", priority = 1 } # buggy: doesn't consider cfg, https://github.com/rust-lang/rust-clippy/issues/12280, https://github.com/rust-lang/rust-clippy/issues/12257#issuecomment-2093667187 -lint_groups_priority = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/12920 manual_assert = { level = "allow", priority = 1 } manual_range_contains = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/6455#issuecomment-1225966395 missing_errors_doc = { level = "allow", priority = 1 } @@ -51,4 +51,3 @@ struct_field_names = { level = "allow", priority = 1 } too_many_arguments = { level = "allow", priority = 1 } too_many_lines = { level = "allow", priority = 1 } type_complexity = { level = "allow", priority = 1 } -unreadable_literal = { level = "allow", priority = 1 } diff --git a/tools/manifest-schema/src/lib.rs b/tools/manifest-schema/src/lib.rs index f8c864e2..cc45db76 100644 --- a/tools/manifest-schema/src/lib.rs +++ b/tools/manifest-schema/src/lib.rs @@ -22,9 +22,9 @@ Structured access to the install-action manifests. // clippy::exhaustive_enums, // clippy::exhaustive_structs, clippy::impl_trait_in_params, - // clippy::missing_inline_in_public_items, clippy::std_instead_of_alloc, clippy::std_instead_of_core, + // clippy::missing_inline_in_public_items, )] #![allow(clippy::missing_panics_doc, clippy::too_long_first_doc_paragraph)]