Skip to content

Resolve Name Conflicts in Type Variables - #23358

Open
George-Ogden wants to merge 2 commits into
rust-lang:masterfrom
George-Ogden:name-conflict
Open

George-Ogden wants to merge 2 commits into
rust-lang:masterfrom
George-Ogden:name-conflict

Conversation

@George-Ogden

@George-Ogden George-Ogden commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Fixes #6870 (Implement missing members suggestion shadows type parameters)
Rebases #21118, which can now be closed
When generating default trait implementations, nothing was done about conflicting names.
This PR fixes the issue and tidies up the implementation slightly.
Most of the work was done by @Natural-selection1, but I can fix any reviewer comments.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement missing members suggestion shadows type parameters

3 participants