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
..
2017-09-27 15:40:57 -07:00
2017-10-10 17:20:59 +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