diff options
| author | Eric Huss <eric@huss.org> | 2024-10-09 06:01:25 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2024-10-09 06:01:25 -0700 |
| commit | de60931645a1baf5edddd9f0c9027c0e494b46fb (patch) | |
| tree | 3c100a9896c44bcac29dc50e791e3b3c845d78ec /src/tools | |
| parent | 4203c686136428ab10e2765a00886b7c2909a477 (diff) | |
Add "reference" as a known compiletest header
This adds the "reference" compiletest header so that the Rust reference can add annotations to the test suite in order to link tests to individual rules in the reference. Tooling in the reference repo will be responsible for collecting these annotations and linking to the tests. More details are in MCP 783: https://github.com/rust-lang/compiler-team/issues/783
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/compiletest/src/command-list.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/command-list.rs b/src/tools/compiletest/src/command-list.rs index b34c276ab19..8349c3085cc 100644 --- a/src/tools/compiletest/src/command-list.rs +++ b/src/tools/compiletest/src/command-list.rs @@ -208,6 +208,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[ "pretty-compare-only", "pretty-expanded", "pretty-mode", + "reference", "regex-error-pattern", "remap-src-base", "revisions", |
