Skip to content

Commit 73745d8

Browse files
authored
Rollup merge of #114227 - asquared31415:tidy_check_fixed, r=albertlarsan68
Add tidy check for stray rustfix files `x.fixed` files that don't correspond to a test file now emit a tidy error.
2 parents adafa84 + 6850a00 commit 73745d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/tidy/src/ui_tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pub fn check(path: &Path, bad: &mut bool) {
100100
{
101101
tidy_error!(bad, "file {} has unexpected extension {}", file_path.display(), ext);
102102
}
103-
if ext == "stderr" || ext == "stdout" {
103+
if ext == "stderr" || ext == "stdout" || ext == "fixed" {
104104
// Test output filenames have one of the formats:
105105
// ```
106106
// $testname.stderr

0 commit comments

Comments
 (0)