-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
refining_impl_trait suggestion in invalid code #129404
Copy link
Copy link
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Code
Current output
Desired output
Rationale and extra context
Not sure if this is worth fixing, but the warning message is not helpful here at all and the suggestion
fn prepare(self) -> impl Fn() -> {type error}is not usable.Other cases
No response
Rust Version
Anything else?
No response