diff options
| author | Eric Huss <eric@huss.org> | 2024-11-04 06:40:57 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-04 22:40:57 +0800 |
| commit | 27985c743f44e62bb8ad6da1ee6a75cbf292129c (patch) | |
| tree | b64db2d8dda4a2522ddbf5627edac79f3216f745 | |
| parent | 4fa7f737781bce53a44ccf0ea18f4c8aed2a1374 (diff) | |
| download | rust-27985c743f44e62bb8ad6da1ee6a75cbf292129c.tar.gz rust-27985c743f44e62bb8ad6da1ee6a75cbf292129c.zip | |
Add a link for the `reference` compiletest header (#2096)
| -rw-r--r-- | src/doc/rustc-dev-guide/src/tests/directives.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/directives.md b/src/doc/rustc-dev-guide/src/tests/directives.md index 281b3c8206b..72ec72f1b15 100644 --- a/src/doc/rustc-dev-guide/src/tests/directives.md +++ b/src/doc/rustc-dev-guide/src/tests/directives.md @@ -249,6 +249,9 @@ See [Pretty-printer](compiletest.md#pretty-printer-tests). output pattern - [`should-ice`](compiletest.md#incremental-tests) — incremental cfail should ICE +- [`reference`] — an annotation linking to a rule in the reference + +[`reference`]: https://github.com/rust-lang/reference/blob/master/docs/authoring.md#test-rule-annotations ### Tool-specific directives |
