rust/src/librustc/middle
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
..
allocator.rs rustc: Implement the #[global_allocator] attribute 2017-07-05 14:37:01 -07:00
borrowck.rs rustc: Remove used_mut_nodes from TyCtxt 2017-10-14 09:29:02 -07:00
const_val.rs rustc: evaluate fixed-length array length expressions lazily. 2017-09-11 08:41:16 +03:00
cstore.rs incr.comp.: Remove support for loading metadata fingerprints. 2017-09-23 19:47:37 +02:00
dataflow.rs address more FIXME whose associated issues were marked as closed 2017-10-08 00:27:28 +03:00
dead.rs Point at signature on unused lint 2017-09-25 13:25:54 -07:00
dependency_format.rs Adjust dependency-resolution errors to be more consistent 2017-09-19 21:37:19 -05:00
entry.rs use field init shorthand in src/librustc 2017-07-05 22:37:10 -07:00
exported_symbols.rs incr.comp.: Fix rebase fallout. 2017-09-18 12:14:52 +02:00
expr_use_visitor.rs convert constant promotion into a query 2017-10-16 17:32:22 -04:00
free_region.rs Point at parameter type on E0301 2017-09-24 11:50:09 -07:00
intrinsicck.rs Use ItemLocalId as key for node_types, node_substs, and adjustments in TypeckTables. 2017-08-11 12:11:38 +02:00
lang_items.rs Rollup merge of #44658 - leodasvacas:remove-str-eq-lang-item, r=arielb1 2017-09-23 00:29:11 -04:00
liveness.rs "avoid" is a better word here than "disable" 2017-09-14 17:23:47 +02:00
mem_categorization.rs Auto merge of #44501 - nikomatsakis:issue-44137-non-query-data-in-tcx, r=eddyb 2017-10-18 10:44:08 +00:00
privacy.rs Replace FnvHasher use with FxHasher. 2016-11-08 15:14:59 +11:00
reachable.rs Lifted generics into TraitItem and ImplItem from MethodSig -- HIR now matches AST 2017-10-17 22:14:14 -04:00
recursion_limit.rs limit the length of types in monomorphization 2016-12-02 00:54:22 +02:00
region.rs Rollup merge of #45325 - spastorino:first_statement_index_with_macro, r=nikomatsakis 2017-10-19 01:59:51 +08:00
resolve_lifetime.rs Lifted generics into TraitItem and ImplItem from MethodSig -- HIR now matches AST 2017-10-17 22:14:14 -04:00
stability.rs Fix typo, per #45057. 2017-10-05 21:31:59 -04:00
trans.rs incr.comp.: Fix rebase fallout. 2017-09-18 12:14:52 +02:00
weak_lang_items.rs rustc: Remove CrateStore::crates as a method 2017-09-07 08:13:41 -07:00