Suggest PartialEq
bound for binary operation ==
error
#73416
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Try this snippet: playground
The compiler errors out:
It would be nice if the compiler could suggest adding
PartialEq
bound forT
.The text was updated successfully, but these errors were encountered: