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
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ pub fn check(path: &Path, bad: &mut bool) {
|
||||||
{
|
{
|
||||||
tidy_error!(bad, "file {} has unexpected extension {}", file_path.display(), ext);
|
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:
|
// Test output filenames have one of the formats:
|
||||||
// ```
|
// ```
|
||||||
// $testname.stderr
|
// $testname.stderr
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue