mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
tidy: Re-enable the "ignoring file length unnecessarily" check
Closes #77548.
This commit is contained in:
parent
58f32da346
commit
761ef8fc53
@ -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…
Reference in New Issue
Block a user