From f93d61115d401698d35df271f674d2e08b43ffd9 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sun, 31 Jul 2022 14:33:56 +0900 Subject: [PATCH] Enable clippy::exhaustive_{enums,structs} lints --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index be266633..eb006907 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -75,7 +75,7 @@ ) ))] #![warn(missing_docs, rust_2018_idioms, single_use_lifetimes, unreachable_pub)] -#![warn(clippy::pedantic)] +#![warn(clippy::exhaustive_enums, clippy::exhaustive_structs, clippy::pedantic)] #![allow(clippy::needless_doctest_main)] #[doc(inline)]