Skip to content

Commit 8dc79ec

Browse files
Update make tidy
1 parent ed2bf57 commit 8dc79ec

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/tools/tidy/src/errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub fn check(path: &Path, bad: &mut bool) {
2525
&mut |path| super::filter_dirs(path) || path.ends_with("src/test"),
2626
&mut |file| {
2727
let filename = file.file_name().unwrap().to_string_lossy();
28-
if filename != "diagnostics.rs" {
28+
if filename != "diagnostics.rs" && filename != "diagnostic_list.rs" {
2929
return
3030
}
3131

src/tools/tidy/src/features.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ pub fn check(path: &Path, bad: &mut bool) {
4646
&mut |path| super::filter_dirs(path) || path.ends_with("src/test"),
4747
&mut |file| {
4848
let filename = file.file_name().unwrap().to_string_lossy();
49-
if !filename.ends_with(".rs") || filename == "features.rs" {
49+
if !filename.ends_with(".rs") || filename == "features.rs" ||
50+
filename == "diagnostic_list.rs" {
5051
return
5152
}
5253

0 commit comments

Comments
 (0)