Misleading message when calling a method inside match arms #112656
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.
Code
Current output
Desired output
Rationale and extra context
Playground link
(updated playground link)
Other cases
No response
Anything else?
I gave an example desired output, but i think it can be better.
The text was updated successfully, but these errors were encountered: