diff --git a/clippy_dev/Cargo.toml b/clippy_dev/Cargo.toml index 503dd53aa..519f78999 100644 --- a/clippy_dev/Cargo.toml +++ b/clippy_dev/Cargo.toml @@ -1,7 +1,10 @@ +cargo-features = ["edition"] + [package] name = "clippy_dev" version = "0.0.1" authors = ["Philipp Hansch "] +edition = "2018" [dependencies] clap = "~2.32" diff --git a/clippy_dev/src/lib.rs b/clippy_dev/src/lib.rs index f10ad81d1..e5ce8580f 100644 --- a/clippy_dev/src/lib.rs +++ b/clippy_dev/src/lib.rs @@ -1,12 +1,9 @@ #![feature(tool_lints)] #![allow(clippy::default_hash_types)] -extern crate regex; -#[macro_use] -extern crate lazy_static; -extern crate itertools; -use regex::Regex; use itertools::Itertools; +use lazy_static::lazy_static; +use regex::Regex; use std::collections::HashMap; use std::ffi::OsStr; use std::fs;