Suggestion for deriving PartialEq
on a type containing dyn Fn()
is very invalid
#135989
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-incorrect
Diagnostics: A diagnostic that is giving misleading or incorrect information.
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Rationale and extra context
No response
Other cases
Rust Version
Anything else?
@rustbot label D-incorrect D-invalid-suggestion
The text was updated successfully, but these errors were encountered: