]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #44157 - alexcrichton:no-specializes-cache, r=eddyb
authorAlex Crichton <alex@alexcrichton.com>
Wed, 30 Aug 2017 16:11:14 +0000 (11:11 -0500)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 30 Aug 2017 20:17:05 +0000 (13:17 -0700)
commit896239329908109a03b974d1fff1582bc9c54ae3
treeef777f040213c3e41f1a5e8d90f0034b2df22f0a
parentfd4f362b304b0e93e7842830b1d3a0fee7d7c1bc
parent27c4ff69675ad216bbf492d6c9d9bf4c41dcd0de
Rollup merge of #44157 - alexcrichton:no-specializes-cache, r=eddyb

rustc: Remove `specialization_cache` in favor of a query

This commit removes the `specialization_cache` field of `TyCtxt` by moving it to
a dedicated query, which it turned out was already quite easily structured to do
so!

cc #44137
src/librustc/traits/select.rs