We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86a09c8 commit 76bd77aCopy full SHA for 76bd77a
src/const_eval.md
@@ -63,7 +63,9 @@ A _const context_ is one of the following:
63
64
Const contexts that are used as parts of types (array type and repeat length
65
expressions as well as const generic arguments) can only make restricted use of
66
-surrounding generic type and lifetime parameters.
+surrounding generic parameters: such an expression must either be a single bare
67
+const generic parameter, or an arbitrary expression not making use of any
68
+generics.
69
70
## Const Functions
71
0 commit comments