From 74a18b0953ecca2c57554b89782a4ebffe3853f2 Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Thu, 24 Oct 2024 20:26:01 +0100 Subject: [PATCH] Add link to new `ref` item --- changelog/dmd.auto-ref-adjacent.dd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog/dmd.auto-ref-adjacent.dd b/changelog/dmd.auto-ref-adjacent.dd index 20bd24c1215c..34dbacdb35ba 100644 --- a/changelog/dmd.auto-ref-adjacent.dd +++ b/changelog/dmd.auto-ref-adjacent.dd @@ -2,7 +2,7 @@ Keywords `auto` and `ref` must be adjacent It's now deprecated to declare `auto ref` parameters without putting those two keywords next to each other. This way it's clear that `auto ref` semantics are intended, rather than `ref` and `auto` semantics separately. -For the newly introduced `ref` local / global variables, it's an error immediately. +For the newly introduced $(RELATIVE_LINK2 dmd.reflocal, `ref` local / global variables), it's an error immediately. --- void t()(ref const auto int x) // Deprecation