Add new lint `shadow_type_generic`
Add a new restriction lint shadow_type_generic that checks for generic parameters that shadow types in scope.
Closes: rust-lang/rust-clippy#380
changelog: [shadow_type_generic]: new lint
Summary Notes
Managed by @rustbot—see help for details
r? @dswij
rustbot has assigned @dswij. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.
Use r? to explicitly pick a reviewer
r? clippy
Dear contributor. Clippy has entered a feature freeze period and will not be integrating new lints for a few weeks. You can rest assured that the Clippy team will review and discuss your proposal at the end of the feature freeze period.
If you wish to contribute to Clippy in the meantime, do not hesitate to read the pinned tracking issue about the feature freeze itself.
@rustbot label +A-lint +S-blocked -S-waiting-on-review @rustbot note "Feature freeze"
:umbrella: The latest upstream changes (possibly 368b2355797b13511776f0a35ec4864468b87ece) made this pull request unmergeable. Please resolve the merge conflicts.
This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.
Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.
:umbrella: The latest upstream changes (possibly e121ab877ee1b0d9c8395b70ecab895222c10f57) made this pull request unmergeable. Please resolve the merge conflicts.
This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.
Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.
r? clippy
I just saw that this PR is active again. Re-assigning, as I don't have review capacity at the moment. (I wonder why r? clippy picks me for reviews in the first place, as I'm not in the general rotation, only for some specific files :thinking: )
:umbrella: The latest upstream changes (possibly c48592eb49d984aee2f813336e2363798e004119) made this pull request unmergeable. Please resolve the merge conflicts.