Update make tidy
This commit is contained in:
parent
ed2bf57728
commit
8dc79ecd13
2 changed files with 3 additions and 2 deletions
|
@ -25,7 +25,7 @@ pub fn check(path: &Path, bad: &mut bool) {
|
|||
&mut |path| super::filter_dirs(path) || path.ends_with("src/test"),
|
||||
&mut |file| {
|
||||
let filename = file.file_name().unwrap().to_string_lossy();
|
||||
if filename != "diagnostics.rs" {
|
||||
if filename != "diagnostics.rs" && filename != "diagnostic_list.rs" {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
@ -46,7 +46,8 @@ pub fn check(path: &Path, bad: &mut bool) {
|
|||
&mut |path| super::filter_dirs(path) || path.ends_with("src/test"),
|
||||
&mut |file| {
|
||||
let filename = file.file_name().unwrap().to_string_lossy();
|
||||
if !filename.ends_with(".rs") || filename == "features.rs" {
|
||||
if !filename.ends_with(".rs") || filename == "features.rs" ||
|
||||
filename == "diagnostic_list.rs" {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue