Open
Description
Adding better diagnostics when we resolve to a res::Err
for N.
Original comment:
Ideally this would suggest "you meant to add a const N
here and write this as A<{ N }>
".
Originally posted by @estebank in #82055 (comment)
Metadata
Metadata
Assignees
Labels
Area: const generics (parameters and arguments)Area: Messages for errors, warnings, and lintsArea: Name/path resolution done by `rustc_resolve` specificallyArea: Suggestions generated by the compiler applied by `cargo fix`Category: An issue proposing an enhancement or a PR with one.Diagnostics: An error or lint that needs small tweaks.Diagnostics: An error or lint that doesn't give enough information about the problem at hand.Relevant to the compiler team, which will review and decide on the PR/issue.