Skip to content

Commit

Permalink
tidy: Re-enable the "ignoring file length unnecessarily" check
Browse files Browse the repository at this point in the history
Closes #77548.
  • Loading branch information
sjakobi committed Apr 11, 2021
1 parent 58f32da commit 761ef8f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/tools/tidy/src/style.rs
Expand Up @@ -379,11 +379,9 @@ pub fn check(path: &Path, bad: &mut bool) {
if let Directive::Ignore(false) = skip_tab {
tidy_error!(bad, "{}: ignoring tab characters unnecessarily", file.display());
}
// FIXME: Temporarily disabled to simplify landing the ignore-rules for the line
// length check (https://github.com/rust-lang/rust/issues/77548):
//if let Directive::Ignore(false) = skip_line_length {
// tidy_error!(bad, "{}: ignoring line length unnecessarily", file.display());
//}
if let Directive::Ignore(false) = skip_line_length {
tidy_error!(bad, "{}: ignoring line length unnecessarily", file.display());
}
if let Directive::Ignore(false) = skip_file_length {
tidy_error!(bad, "{}: ignoring file length unnecessarily", file.display());
}
Expand Down

0 comments on commit 761ef8f

Please sign in to comment.