Skip to content

Commit 3f8adde

Browse files
committed
Auto merge of rust-lang#84100 - sjakobi:77548-reenable-check, r=jyn514
tidy: Re-enable the "ignoring line length unnecessarily" check Closes rust-lang#77548.
2 parents a866124 + 761ef8f commit 3f8adde

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/tools/tidy/src/style.rs

+3-5
Original file line numberDiff line numberDiff line change
@@ -379,11 +379,9 @@ pub fn check(path: &Path, bad: &mut bool) {
379379
if let Directive::Ignore(false) = skip_tab {
380380
tidy_error!(bad, "{}: ignoring tab characters unnecessarily", file.display());
381381
}
382-
// FIXME: Temporarily disabled to simplify landing the ignore-rules for the line
383-
// length check (https://github.com/rust-lang/rust/issues/77548):
384-
//if let Directive::Ignore(false) = skip_line_length {
385-
// tidy_error!(bad, "{}: ignoring line length unnecessarily", file.display());
386-
//}
382+
if let Directive::Ignore(false) = skip_line_length {
383+
tidy_error!(bad, "{}: ignoring line length unnecessarily", file.display());
384+
}
387385
if let Directive::Ignore(false) = skip_file_length {
388386
tidy_error!(bad, "{}: ignoring file length unnecessarily", file.display());
389387
}

0 commit comments

Comments
 (0)