rust/src/librustdoc/clean
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
..
cfg.rs Remove nacl from librustdoc 2017-10-05 05:04:50 +02:00
inline.rs incr.comp.: Already hash HIR bodies during metadata export so they don't have to be hashed in downstream crates. 2017-09-18 11:26:11 +02:00
mod.rs Auto merge of #44766 - sunjay:lift_generics, r=nikomatsakis 2017-10-24 01:20:09 +00:00
simplify.rs Test rustdoc unit tests. 2017-09-05 11:17:52 -06:00