Diagnostic for CandidateSource::Trait
take receiver as first arg mistakely
#119775
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
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
We had solved
CandidateSource::Impl
case in #118502, could do the same forCandidateSource::Trait
rust/compiler/rustc_hir_typeck/src/method/suggest.rs
Lines 1590 to 1606 in be00c5a
Other cases
No response
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: