From 5212889c2dd1176507141c2c48b8743261ed58bd Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Wed, 9 Oct 2024 19:14:46 -0700 Subject: [PATCH] Add a link for the `reference` compiletest header --- src/tests/directives.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tests/directives.md b/src/tests/directives.md index 66ba0d14b..307051d0c 100644 --- a/src/tests/directives.md +++ b/src/tests/directives.md @@ -245,6 +245,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