In a formal non-type generic parameter, referring to a const item causes a false "cycle detected" error #73491
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.
I tried this code: (Playground Link)
I expected to see this happen: Successful compilation.
Instead, this happened:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: