Auto merge of #84100 - sjakobi:77548-reenable-check, r=jyn514
tidy: Re-enable the "ignoring line length unnecessarily" check Closes #77548.
This commit is contained in:
commit
3f8added70
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