rust/src/librustc_borrowck
bors 7a4f39453c Auto merge of #44501 - nikomatsakis:issue-44137-non-query-data-in-tcx, r=eddyb
remove or encapsulate the remaining non-query data in tcx

I wound up removing the existing cache around inhabitedness since it didn't seem to be adding much value. I reworked const rvalue promotion, but not that much (i.e., I did not split the computation into bits, as @eddyb had tossed out as a suggestion). But it's now demand driven, at least.

cc @michaelwoerister -- see the `forbid_reads` change in last commit

r? @eddyb -- since the trickiest of this PR is the work on const rvalue promotion

cc #44137
2017-10-18 10:44:08 +00:00
..
borrowck Auto merge of #44501 - nikomatsakis:issue-44137-non-query-data-in-tcx, r=eddyb 2017-10-18 10:44:08 +00:00
Cargo.toml rustc: Remove used_mut_nodes from TyCtxt 2017-10-14 09:29:02 -07:00
diagnostics.rs Moved remaining AST-borrowck diagnostic definitions to rustc_mir crate. 2017-10-10 13:12:00 +02:00
graphviz.rs rustc: use hir::ItemLocalId instead of ast::NodeId in CFG. 2017-09-01 11:17:03 +03:00
lib.rs Auto merge of #45283 - alexcrichton:used-mut-nodes, r=arielb1 2017-10-16 03:02:05 +00:00