Skip to content

Commit 6a5accd

Browse files
authored
Add a link for the reference compiletest header (rust-lang#2096)
1 parent b4725b4 commit 6a5accd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tests/directives.md

+3
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,9 @@ See [Pretty-printer](compiletest.md#pretty-printer-tests).
249249
output pattern
250250
- [`should-ice`](compiletest.md#incremental-tests) — incremental cfail should
251251
ICE
252+
- [`reference`] — an annotation linking to a rule in the reference
253+
254+
[`reference`]: https://github.com/rust-lang/reference/blob/master/docs/authoring.md#test-rule-annotations
252255

253256
### Tool-specific directives
254257

0 commit comments

Comments
 (0)