Unexpected error in const generics: constant expression depends on a generic parameter #68630
Labels
A-const-generics
Area: const generics (parameters and arguments)
C-bug
Category: This is a bug.
F-const_generics
`#![feature(const_generics)]`
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The code:
must be compiled but gives error:
playground
It is the same as #61368, but not ICE.
The text was updated successfully, but these errors were encountered: