Skip to content

Commit de60931

Browse files
committed
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: rust-lang/compiler-team#783
1 parent 4203c68 commit de60931

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/compiletest/src/command-list.rs

+1
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
208208
"pretty-compare-only",
209209
"pretty-expanded",
210210
"pretty-mode",
211+
"reference",
211212
"regex-error-pattern",
212213
"remap-src-base",
213214
"revisions",

0 commit comments

Comments
 (0)