From 32103bf0c6d612c0efaa27038f9183d96ad5d953 Mon Sep 17 00:00:00 2001 From: Ed Barnard Date: Sat, 17 Sep 2022 17:39:30 +0100 Subject: [PATCH] Treat all warnings as errors --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index e54b6ed..ba1d8cb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -72,6 +72,9 @@ //! specify a tilde requirement e.g. `plist = "~1.0.3"` in you `Cargo.toml` so that the plist crate //! is not automatically updated to version 1.1. +// Treat all warnings as errors. +#![deny(warnings)] + pub mod dictionary; #[cfg(feature = "enable_unstable_features_that_may_break_with_minor_version_bumps")]