Skip to content

Move Generics from MethodSig to TraitItem and ImplItem#44766

Merged
bors merged 11 commits into
rust-lang:masterfrom
sunjay:lift_generics
Oct 24, 2017
Merged

Move Generics from MethodSig to TraitItem and ImplItem#44766
bors merged 11 commits into
rust-lang:masterfrom
sunjay:lift_generics

Conversation

@sunjay

@sunjay sunjay commented Sep 22, 2017

Copy link
Copy Markdown
Contributor

As part of rust-impl-period/WG-compiler-traits, we want to "lift" Generics from MethodSig into TraitItem and ImplItem. This is in preparation for adding associated type generics. (#44265 (comment))

Currently this change is only made in the AST. In the future, it may also impact the HIR. (Still discussing)

To understand this PR, it's probably best to start from the changes to ast.rs and then work your way to the other files to understand the far reaching effects of this change.

r? @nikomatsakis

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants