Update clippy

This commit is contained in:
Manish Goregaokar 2016-07-12 16:10:15 +05:30
parent f0c3543f53
commit ed894777a1
2 changed files with 5 additions and 5 deletions

View file

@ -12,10 +12,10 @@ plugin = true
[dependencies]
tenacious = "0.2.0"
[dependencies.clippy]
git = "https://github.com/Manishearth/rust-clippy"
rev = "9dca15de3e8ea266d3e7e868c0f358ed4fa5f195"
[dependencies.clippy_lints]
version = "0.0.77"
optional = true
[features]
default = []
clippy = ["clippy_lints"]

View file

@ -18,7 +18,7 @@
#![deny(unsafe_code)]
#[cfg(feature = "clippy")]
extern crate clippy;
extern crate clippy_lints;
#[macro_use]
extern crate rustc;
extern crate rustc_plugin;
@ -60,7 +60,7 @@ pub fn plugin_registrar(reg: &mut Registry) {
#[cfg(feature = "clippy")]
fn register_clippy(reg: &mut Registry) {
::clippy::plugin_registrar(reg);
::clippy_lints::register_plugins(reg);
}
#[cfg(not(feature = "clippy"))]
fn register_clippy(_reg: &mut Registry) {