Don't check error_codes files for lints

This commit is contained in:
Guillaume Gomez 2019-09-27 13:24:59 +02:00
parent 2e7868389a
commit ecfe92f75e
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ fn map_lib_features(base_src_path: &Path,
let file = entry.path();
let filename = file.file_name().unwrap().to_string_lossy();
if !filename.ends_with(".rs") || filename == "features.rs" ||
filename == "diagnostic_list.rs" {
filename == "diagnostic_list.rs" || filename == "error_codes.rs" {
return;
}