mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
Merge pull request #3212 from matthiaskrgr/clippy_dev_ed2018
clippy_dev: port to edition 2018
This commit is contained in:
commit
1be78b90ac
2 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,10 @@
|
||||||
|
cargo-features = ["edition"]
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "clippy_dev"
|
name = "clippy_dev"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
authors = ["Philipp Hansch <dev@phansch.net>"]
|
authors = ["Philipp Hansch <dev@phansch.net>"]
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = "~2.32"
|
clap = "~2.32"
|
||||||
|
|
|
@ -1,12 +1,9 @@
|
||||||
#![feature(tool_lints)]
|
#![feature(tool_lints)]
|
||||||
#![allow(clippy::default_hash_types)]
|
#![allow(clippy::default_hash_types)]
|
||||||
extern crate regex;
|
|
||||||
#[macro_use]
|
|
||||||
extern crate lazy_static;
|
|
||||||
extern crate itertools;
|
|
||||||
|
|
||||||
use regex::Regex;
|
|
||||||
use itertools::Itertools;
|
use itertools::Itertools;
|
||||||
|
use lazy_static::lazy_static;
|
||||||
|
use regex::Regex;
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::ffi::OsStr;
|
use std::ffi::OsStr;
|
||||||
use std::fs;
|
use std::fs;
|
||||||
|
|
Loading…
Reference in a new issue