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

@ -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) {