clippy: Remove now obsolete lintlist module

Also stop updating the lintlist module in clippy_dev update_lints
This commit is contained in:
flip1995
2020-10-07 16:05:13 +02:00
committed by flip1995
parent 9f1505ce9f
commit 03f04314dd
3 changed files with 1 additions and 2983 deletions

View File

@@ -22,20 +22,7 @@ pub fn run(update_mode: UpdateMode) {
let usable_lint_count = round_to_fifty(usable_lints.len());
let mut file_change = replace_region_in_file(
Path::new("src/lintlist/mod.rs"),
"begin lint list",
"end lint list",
false,
update_mode == UpdateMode::Change,
|| {
format!("vec!{:#?}", sorted_usable_lints)
.lines()
.map(ToString::to_string)
.collect::<Vec<_>>()
},
)
.changed;
let mut file_change = false;
file_change |= replace_region_in_file(
Path::new("README.md"),