rust/compiler/rustc_trait_selection/src
bors 7743c9fadd Auto merge of #89125 - Aaron1011:remove-intercrate-cache, r=jackh726
Don't use projection cache or candidate cache in intercrate mode

Fixes #88969

It appears that *just* disabling the evaluation cache (in #88994)
leads to other issues involving intercrate mode caching. I suspect
that since we now always end up performing the full evaluation
in intercrate mode, we end up 'polluting' the candidate and projection
caches with results that depend on being in intercrate mode in some way.
Previously, we might have hit a cached evaluation (stored during
non-intercrate mode), and skipped doing this extra work in
intercrate mode.

The whole situation with intercrate mode caching is turning into
a mess. Ideally, we would remove intercrate mode entirely - however,
this might require waiting on Chalk.
2021-09-21 13:25:14 +00:00
..
traits Auto merge of #89125 - Aaron1011:remove-intercrate-cache, r=jackh726 2021-09-21 13:25:14 +00:00
autoderef.rs Combine individual limit queries into single limits query 2021-07-04 13:02:51 -05:00
infer.rs Use FxHashSet instead of Vec for well formed tys 2021-09-09 11:25:44 -04:00
lib.rs Refactor vtable format. 2021-07-20 22:14:42 +08:00
opaque_types.rs Use ty::Error for opaque types with errors in its bounds. 2021-09-20 14:15:36 +00:00