From 9985d2ebfc6f42270f9635ef8b9d0441c099e7ca Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Wed, 10 Feb 2016 11:42:33 -0800 Subject: [PATCH] plugin(clippy) now relies on feature = "clippy" Was previously nightly. This resulted in compilation error when the clippy feature was not enabled because the clippy crate could not be found. --- serde_codegen/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/serde_codegen/src/lib.rs b/serde_codegen/src/lib.rs index 83e768a6..5fc4a7d2 100644 --- a/serde_codegen/src/lib.rs +++ b/serde_codegen/src/lib.rs @@ -1,5 +1,5 @@ -#![cfg_attr(feature = "nightly", plugin(clippy))] -#![cfg_attr(feature = "nightly", allow(used_underscore_binding))] +#![cfg_attr(feature = "clippy", plugin(clippy))] +#![cfg_attr(feature = "clippy", allow(used_underscore_binding))] #![cfg_attr(not(feature = "with-syntex"), feature(rustc_private, plugin))] #![cfg_attr(not(feature = "with-syntex"), plugin(quasi_macros))]