Confusing error message: the trait bound String: From<impl Into<String>>
is not satisfied
#57661
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Playground
The true error is that the trait signature is different than the
impl
block (and maybe theimpl
keyword shall not be in the trait as yet?). The message however, is really confusing:The text was updated successfully, but these errors were encountered: