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.
This commit is contained in:
Joe Wilm
2016-02-10 11:42:33 -08:00
parent 46f88037db
commit 9985d2ebfc
+2 -2
View File
@@ -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))]