Skip to content

Commit 3a39d5e

Browse files
authored
der: remove obsolete lint configs (#2235)
These were moved to the workspace-level in #2231
1 parent 8ede832 commit 3a39d5e

1 file changed

Lines changed: 1 addition & 20 deletions

File tree

der/src/lib.rs

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,7 @@
55
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg",
66
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg"
77
)]
8-
#![deny(unsafe_code)] // only allowed for transmuting newtype references
9-
#![warn(
10-
// TODO: re-enable this lint and fix its warnings
11-
// clippy::arithmetic_side_effects,
12-
clippy::cast_lossless,
13-
clippy::cast_possible_truncation,
14-
clippy::cast_possible_wrap,
15-
clippy::cast_precision_loss,
16-
clippy::cast_sign_loss,
17-
clippy::checked_conversions,
18-
clippy::implicit_saturating_sub,
19-
clippy::mod_module_files,
20-
clippy::panic,
21-
clippy::panic_in_result_fn,
22-
clippy::unwrap_used,
23-
missing_docs,
24-
rust_2018_idioms,
25-
unused_lifetimes,
26-
unused_qualifications
27-
)]
8+
#![deny(unsafe_code)] // only allowed for casting newtype references
289

2910
//! # Usage
3011
//! ## [`Decode`] and [`Encode`] traits

0 commit comments

Comments
 (0)