error message when passing parameters to fn using impl Trait
is ungreat
#48703
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.
This program:
gives the error:
I would expect just:
The text was updated successfully, but these errors were encountered: