error message for inherent impl
on type
that is external could be more explanatory
#141679
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-terse
Diagnostics: An error or lint that doesn't give enough information about the problem at hand.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Uh oh!
There was an error while loading. Please reload this page.
Code
Current output
Desired output
Rationale and extra context
To a beginner, it looks as if
Function
was a new type, so the error message should be a bit more explanatory why it is not.Other cases
Rust Version
Anything else?
@rustbot label D-terse
The text was updated successfully, but these errors were encountered: