Add link to new ref item

This commit is contained in:
Nick Treleaven 2024-10-24 20:26:01 +01:00 committed by Nicholas Wilson
parent d6149fdf0f
commit 74a18b0953

View file

@ -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