Skip to content

Commit

Permalink
clippy: Remove now obsolete lintlist module
Browse files Browse the repository at this point in the history
Also stop updating the lintlist module in clippy_dev update_lints
  • Loading branch information
flip1995 committed Nov 24, 2020
1 parent 9f1505c commit 03f0431
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2,983 deletions.
15 changes: 1 addition & 14 deletions clippy_dev/src/update_lints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
27 changes: 0 additions & 27 deletions src/lintlist/lint.rs

This file was deleted.

Loading

0 comments on commit 03f0431

Please sign in to comment.