bors 336624735c Auto merge of #44766 - sunjay:lift_generics, r=nikomatsakis
Move Generics from MethodSig to TraitItem and ImplItem

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. (https://github.com/rust-lang/rust/issues/44265#issuecomment-331172238)

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
2017-10-24 01:20:09 +00:00
..
2017-09-27 15:40:57 -07:00
2017-09-21 15:53:33 -04:00
2017-09-17 21:42:35 +02:00
2017-09-27 15:40:57 -07:00
2017-09-24 13:53:10 -07:00
2017-10-02 10:16:32 -04:00
2017-10-14 12:53:44 +03:00