From 945b40249cdf41d9c9766938f455e204ff88906e Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Fri, 13 Sep 2019 03:05:38 +0300 Subject: [PATCH] Do not hardcode deny(warnings) in the source code When a new version of the compiler introduces a new warning it makes your perfectly fine older release require manual patching in order to build again. --- podcasts-data/src/lib.rs | 1 - podcasts-downloader/src/lib.rs | 1 - podcasts-gtk/src/main.rs | 1 - 3 files changed, 3 deletions(-) diff --git a/podcasts-data/src/lib.rs b/podcasts-data/src/lib.rs index d320d9e..a7cd8a6 100644 --- a/podcasts-data/src/lib.rs +++ b/podcasts-data/src/lib.rs @@ -62,7 +62,6 @@ missing_copy_implementations )] #![allow(proc_macro_derive_resolution_fallback)] -// #![deny(warnings)] //! FIXME: Docs diff --git a/podcasts-downloader/src/lib.rs b/podcasts-downloader/src/lib.rs index 9654a25..d0c5cd1 100644 --- a/podcasts-downloader/src/lib.rs +++ b/podcasts-downloader/src/lib.rs @@ -39,7 +39,6 @@ elided_lifetime_in_paths, missing_copy_implementations )] -// #![deny(warnings)] #[macro_use] extern crate failure_derive; diff --git a/podcasts-gtk/src/main.rs b/podcasts-gtk/src/main.rs index 3f45655..f20b3fb 100644 --- a/podcasts-gtk/src/main.rs +++ b/podcasts-gtk/src/main.rs @@ -41,7 +41,6 @@ elided_lifetime_in_paths, missing_copy_implementations )] -// #![deny(warnings)] #[macro_use] extern crate failure;