disambiguate the associated function
diagnostic take receiver as first arg mistakely
#118819
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
This is somehow silimar to #118469, we shouldn't take receiver as first arg all the cases.
Other cases
No response
Anything else?
rustc --version
rustc 1.76.0-nightly (d86d65b 2023-12-10)
The text was updated successfully, but these errors were encountered: