Auto merge of #121561 - jieyouxu:compiletest-directive-typo-check, r=onur-ozkan

Detect typos for compiletest test directives

Checks directives against a known list of compiletest directives collected during migration from legacy-style compiletest directives. A suggestion for the best matching known directive will be made if an invalid directive is found.

This PR does not attempt to implement checks for Makefile directives because they still have the problem of regular comments and directives sharing the same comment prefix `#`.

Closes #83551.
This commit is contained in:
bors 2024-03-10 16:26:18 +00:00
commit 10d20311fd

Diff content is not available