Skip to content

Commit 9c91e67

Browse files
committed
Revert "Tmp enable annotation check"
This reverts commit d8207f6.
1 parent d8207f6 commit 9c91e67

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/tools/tidy/src/style.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,11 @@ 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-
if let Directive::Ignore(false) = skip_line_length {
383-
tidy_error!(bad, "{}: ignoring line length unnecessarily", file.display());
384-
}
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+
//}
385387
if let Directive::Ignore(false) = skip_file_length {
386388
tidy_error!(bad, "{}: ignoring file length unnecessarily", file.display());
387389
}

0 commit comments

Comments
 (0)