File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ pub fn check(path: &Path, bad: &mut bool) {
25
25
& mut |path| super :: filter_dirs ( path) || path. ends_with ( "src/test" ) ,
26
26
& mut |file| {
27
27
let filename = file. file_name ( ) . unwrap ( ) . to_string_lossy ( ) ;
28
- if filename != "diagnostics.rs" {
28
+ if filename != "diagnostics.rs" && filename != "diagnostic_list.rs" {
29
29
return
30
30
}
31
31
Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ pub fn check(path: &Path, bad: &mut bool) {
46
46
& mut |path| super :: filter_dirs ( path) || path. ends_with ( "src/test" ) ,
47
47
& mut |file| {
48
48
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" {
50
51
return
51
52
}
52
53
You can’t perform that action at this time.
0 commit comments