From 6a5accdaf10255882b1e6c59dfe5f1c79ac95484 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Mon, 4 Nov 2024 06:40:57 -0800 Subject: [PATCH] Add a link for the `reference` compiletest header (#2096) --- src/tests/directives.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tests/directives.md b/src/tests/directives.md index 281b3c8206bc6..72ec72f1b1526 100644 --- a/src/tests/directives.md +++ b/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