compiletest: don't silently accept unsupported directives in test suites #128058
Labels
A-compiletest
Area: The compiletest test runner
A-contributor-roadblock
Area: Makes things more difficult for new contributors to rust itself
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Yes, there are special handling here and there for specific directives. But the handling is limited and is only for specific directives in specific test suites.
We should error if a test writer specifies a directive invalid for a given test suite.
This may require reworking how directives are handled, i.e. have test suites "register" what directives they support.
The text was updated successfully, but these errors were encountered: