Skip to content

Commit

Permalink
Add "reference" as a known compiletest header
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ehuss committed Oct 9, 2024
1 parent 4203c68 commit de60931
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/compiletest/src/command-list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
"pretty-compare-only",
"pretty-expanded",
"pretty-mode",
"reference",
"regex-error-pattern",
"remap-src-base",
"revisions",
Expand Down

0 comments on commit de60931

Please sign in to comment.