From 7feb909809ec1b36ce22c135ca8ed20a132f25ce Mon Sep 17 00:00:00 2001 From: joshmc Date: Wed, 17 Feb 2021 18:57:30 +0000 Subject: [PATCH] NOISSUE - Update lint enforcement level based on issue https://github.com/rust-lang/rust/issues/81670 to fix compile warnings with stable 1.50.0 --- cargo-geiger-serde/src/lib.rs | 2 +- cargo-geiger/src/lib.rs | 2 +- cargo-geiger/src/main.rs | 2 +- geiger/src/lib.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cargo-geiger-serde/src/lib.rs b/cargo-geiger-serde/src/lib.rs index 4556106d..4dd8ec01 100644 --- a/cargo-geiger-serde/src/lib.rs +++ b/cargo-geiger-serde/src/lib.rs @@ -4,7 +4,7 @@ //! This crate provides definitions to serialize the unsafety report. #![forbid(unsafe_code)] -#![forbid(warnings)] +#![deny(warnings)] mod package_id; mod report; diff --git a/cargo-geiger/src/lib.rs b/cargo-geiger/src/lib.rs index 364b409f..62767c69 100644 --- a/cargo-geiger/src/lib.rs +++ b/cargo-geiger/src/lib.rs @@ -5,7 +5,7 @@ #![deny(clippy::cargo)] #![deny(clippy::doc_markdown)] #![forbid(unsafe_code)] -#![forbid(warnings)] +#![deny(warnings)] /// Argument parsing pub mod args; diff --git a/cargo-geiger/src/main.rs b/cargo-geiger/src/main.rs index a183378c..830f7a50 100644 --- a/cargo-geiger/src/main.rs +++ b/cargo-geiger/src/main.rs @@ -4,7 +4,7 @@ #![deny(clippy::cargo)] #![deny(clippy::doc_markdown)] #![forbid(unsafe_code)] -#![forbid(warnings)] +#![deny(warnings)] extern crate cargo; extern crate colored; diff --git a/geiger/src/lib.rs b/geiger/src/lib.rs index 3a794424..d5f8da72 100644 --- a/geiger/src/lib.rs +++ b/geiger/src/lib.rs @@ -5,7 +5,7 @@ //! from `cargo`. #![forbid(unsafe_code)] -#![forbid(warnings)] +#![deny(warnings)] pub mod find; mod geiger_syn_visitor;