From f17985ad0a18b850b5949b8a7ad1acb8f2847e94 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Fri, 13 Feb 2026 09:12:57 -0700 Subject: [PATCH] der: remove obsolete lint configs These were moved to the workspace-level in #2231 --- der/src/lib.rs | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/der/src/lib.rs b/der/src/lib.rs index 31ddc7a6b..134531960 100644 --- a/der/src/lib.rs +++ b/der/src/lib.rs @@ -5,26 +5,7 @@ html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg", html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg" )] -#![deny(unsafe_code)] // only allowed for transmuting newtype references -#![warn( - // TODO: re-enable this lint and fix its warnings - // clippy::arithmetic_side_effects, - clippy::cast_lossless, - clippy::cast_possible_truncation, - clippy::cast_possible_wrap, - clippy::cast_precision_loss, - clippy::cast_sign_loss, - clippy::checked_conversions, - clippy::implicit_saturating_sub, - clippy::mod_module_files, - clippy::panic, - clippy::panic_in_result_fn, - clippy::unwrap_used, - missing_docs, - rust_2018_idioms, - unused_lifetimes, - unused_qualifications -)] +#![deny(unsafe_code)] // only allowed for casting newtype references //! # Usage //! ## [`Decode`] and [`Encode`] traits