Closed
Description
Hi, I think this error message is unclear.
https://play.rust-lang.org/?gist=5b08c55cf63a625ced0cbaf83b4db0de&version=stable
The solution is here:
https://play.rust-lang.org/?gist=3ce26cc2d8cbd16533b884a1f8f76900&version=stable
@oli-obk suggested mentoring a PR to add a suggestion for possible trait types in the impl
. This Issue serves as a starting point.
Metadata
Metadata
Assignees
Labels
Area: Messages for errors, warnings, and lintsArea: Suggestions generated by the compiler applied by `cargo fix`Category: An issue proposing an enhancement or a PR with one.Diagnostics: Confusing error or lint; hard to understand for new users.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Relevant to the compiler team, which will review and decide on the PR/issue.Working group: Diagnostics