tidy: Re-enable the "ignoring file length unnecessarily" check
Closes #77548.
This commit is contained in:
parent
58f32da346
commit
761ef8fc53
1 changed files with 3 additions and 5 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue