rustc suggests removing all trait bounds leaving stray impl
#127441
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
No response
Rationale and extra context
No response
Other cases
No response
Rust Version
Anything else?
I found the
fn foo(_: impl ) {}
suggestion slightly amusing :)The text was updated successfully, but these errors were encountered: