Skip to content

Commit ff45844

Browse files
authored
Merge pull request #1962 from rust-lang/TC/add-rule-id-for-const-outer-generics
Add missing rule identifier for const outer generics
2 parents 6dad80d + 1d9443b commit ff45844

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/const_eval.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ r[const-eval.const-context.generic]
248248
r[const-eval.const-context.block]
249249
* A [const block]
250250
251+
r[const-eval.const-context.outer-generics]
251252
Const contexts that are used as parts of types (array type and repeat length
252253
expressions as well as const generic arguments) can only make restricted use of
253254
surrounding generic parameters: such an expression must either be a single bare

0 commit comments

Comments
 (0)