From 1d9443b1f5a37594f1fbf674e2669de586ba16f6 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Fri, 15 Aug 2025 05:03:58 +0000 Subject: [PATCH] Add missing rule identifier for const outer generics In the section on const contexts, we have a rule about when outer generics cannot be used. This was missing a rule identifier, so the text appeared to be part of the preceding rule. Let's fix that. --- src/const_eval.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/const_eval.md b/src/const_eval.md index 0b89affc73..2d73e1ff44 100644 --- a/src/const_eval.md +++ b/src/const_eval.md @@ -248,6 +248,7 @@ r[const-eval.const-context.generic] r[const-eval.const-context.block] * A [const block] +r[const-eval.const-context.outer-generics] Const contexts that are used as parts of types (array type and repeat length expressions as well as const generic arguments) can only make restricted use of surrounding generic parameters: such an expression must either be a single bare