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.
This commit is contained in:
commit
b9f17f1e78
@ -100,7 +100,7 @@ pub fn check(path: &Path, bad: &mut bool) {
|
||||
{
|
||||
tidy_error!(bad, "file {} has unexpected extension {}", file_path.display(), ext);
|
||||
}
|
||||
if ext == "stderr" || ext == "stdout" {
|
||||
if ext == "stderr" || ext == "stdout" || ext == "fixed" {
|
||||
// Test output filenames have one of the formats:
|
||||
// ```
|
||||
// $testname.stderr
|
||||
|
Loading…
x
Reference in New Issue
Block a user