diff --git a/clippy_lints/src/lib.rs b/clippy_lints/src/lib.rs index 7eaa1de3c..02e92f1f4 100644 --- a/clippy_lints/src/lib.rs +++ b/clippy_lints/src/lib.rs @@ -24,9 +24,6 @@ use rustc_plugin; #[macro_use] extern crate matches as matches_macro; -#[macro_use] -extern crate lazy_static; - #[macro_use] extern crate if_chain; diff --git a/clippy_lints/src/utils/conf.rs b/clippy_lints/src/utils/conf.rs index e18245c3f..52b349166 100644 --- a/clippy_lints/src/utils/conf.rs +++ b/clippy_lints/src/utils/conf.rs @@ -2,11 +2,13 @@ #![deny(missing_docs_in_private_items)] +use lazy_static::lazy_static; use std::{env, fmt, fs, io, path}; use std::io::Read; use syntax::{ast, codemap}; use toml; use std::sync::Mutex; + /// Get the configuration file from arguments. pub fn file_from_args( args: &[codemap::Spanned],