Recover and suggest wrapping in block in const generic value application #61175
Labels
A-const-generics
Area: const generics (parameters and arguments)
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
const-generics-bad-diagnostics
An error is correctly emitted, but is confusing, for `min_const_generics`.
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.
cc @varkor @rust-lang/wg-diagnostics
Say we have:
the parser now greets you with:
It would be good if you got:
or some such.
The text was updated successfully, but these errors were encountered: