From 4c16a34053a1c3ca86239b3eb6a2cccc4d7ba5b7 Mon Sep 17 00:00:00 2001 From: Roey Darwish Dror Date: Mon, 29 Oct 2018 14:41:45 +0200 Subject: [PATCH] Revert "Forbid clippy warnings" This reverts commit c0942e12a3850d6d8e917dfd62662eb1ca8d6a3f. 1 | #![cfg_attr(feature = "cargo-clippy", deny(clippy::all))] | ^^^^^^^^^^^ error[E0658]: scoped lint `clippy::all` is experimental (see issue #44690) --- ci/script.sh | 2 +- src/main.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ci/script.sh b/ci/script.sh index 8e594ac0..ee3383d1 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -5,7 +5,7 @@ set -ex # TODO This is the "test phase", tweak it as you see fit main() { cargo fmt --all -- --check - cargo clippy --all-targets --all-features + cargo clippy --all-targets --all-features -- -D warnings cross check --target $TARGET cross check --target $TARGET --release diff --git a/src/main.rs b/src/main.rs index a079b72d..891c6155 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,3 @@ -#![cfg_attr(feature = "cargo-clippy", deny(clippy::all))] - extern crate directories; extern crate failure; extern crate which;