mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 21:47:15 +03:00
d02b4c8e77
When an unconstrained type or lifetime parameter is detected in an `impl`, provide more specific help based on its usage: - If the parameter is entirely unused, suggest removing it. - If it is used in the `impl` body but not the `Self` type, suggest including it in the `Self` type and the struct definition. This also adds a comprehensive UI test for these cases.