Const param as PatKind::Path
interpreted as a binding instead of being rejected
#68853
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.
results in:
but should, similarly to associated constants, result in:
The text was updated successfully, but these errors were encountered: