rust/src/librustc_save_analysis
Eduard-Mihai Burtescu 6dd4ee6d08 Rollup merge of #37688 - eddyb:lazy-8, r=petrochenkov
[8/n] rustc: clean up lookup_item_type and remove TypeScheme.

_This is part of a series ([prev](https://github.com/rust-lang/rust/pull/37676) | [next]()) of patches designed to rework rustc into an out-of-order on-demand pipeline model for both better feature support (e.g. [MIR-based](https://github.com/solson/miri) early constant evaluation) and incremental execution of compiler passes (e.g. type-checking), with beneficial consequences to IDE support as well.
If any motivation is unclear, please ask for additional PR description clarifications or code comments._

<hr>

* `tcx.tcache` -> `tcx.item_types`
* `TypeScheme` (grouping `Ty` and `ty::Generics`) is removed
* `tcx.item_types` entries no longer duplicated in `tcx.tables.node_types`
* `tcx.lookup_item_type(def_id).ty` -> `tcx.item_type(def_id)`
* `tcx.lookup_item_type(def_id).generics` -> `tcx.item_generics(def_id)`
* `tcx.lookup_generics(def_id)` -> `tcx.item_generics(def_id)`
* `tcx.lookup_{super_,}predicates(def_id)` -> `tcx.item_{super_,}predicates(def_id)`
2016-11-12 10:38:41 +02:00
..
Cargo.toml Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
csv_dumper.rs Fixed missing comma in the csv dumper. 2016-07-25 11:46:59 +02:00
data.rs rustc_metadata: go only through rustc_serialize in astencode. 2016-09-20 20:07:54 +03:00
dump.rs save-analysis: attempt number 2 at a JSON version 2016-05-11 13:50:23 -07:00
dump_visitor.rs Add variants Def::Macro and Namespace::MacroNS. 2016-11-10 09:21:44 +00:00
external_data.rs rustc_metadata: go only through rustc_serialize in astencode. 2016-09-20 20:07:54 +03:00
json_api_dumper.rs rustc_metadata: go only through rustc_serialize in astencode. 2016-09-20 20:07:54 +03:00
json_dumper.rs save-analysis: change imports to carry a ref id rather than their own node id 2016-10-29 08:43:14 +10:00
lib.rs Rollup merge of #37688 - eddyb:lazy-8, r=petrochenkov 2016-11-12 10:38:41 +02:00
span_utils.rs Changed most vec! invocations to use square braces 2016-10-31 22:51:40 +00:00