Confusing diagnostics when using associated const as an array size #68695
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Playground
At the same time on nightly with
#![feature(const_generics)]
error description is much better:Playground
The text was updated successfully, but these errors were encountered: