Misplaced suggestion for missing generic parameter in macro invocation #90557
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:
The current output is:
Most of the error message is good up until the help section, whereupon following it (by passing, say,
u8, u8
to the macro call) leads to another error:Asking for another generic parameter is good, but it's being asked for in the wrong place.
As for the versions affected, I've tried it on the stable (1.56.1), nightly (
2021-11-02 18bc4bee9710b181b440
), and beta (2021-11-01 708d57e288d051a6238e
) versions available on the Playground as of the time of writing, and all of them are affected.The text was updated successfully, but these errors were encountered: