Wrong suggestion for const generic type #89013
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code: (see play.rust-lang.org link).
The current output is:
Notice the
TheTypeconst
in the above error message.I've checked if this is the case on nightly, and at the time of this filing, this
is also an issue on nightly.
The text was updated successfully, but these errors were encountered: