Coherence hint wrong for a blanked implementation bounded by a private trait #62194
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given code like this:
the diagnostic will read as such:
the last note here is incorrect because the only thing that can implement this trait is the crate which declared the private
Private
trait.The text was updated successfully, but these errors were encountered: