rust/compiler/rustc_trait_selection
bors 6f5a198ffc Auto merge of #85382 - Aaron1011:project-eval, r=nikomatsakis
Always produce sub-obligations when using cached projection result

See https://github.com/rust-lang/rust/issues/85360

When we skip adding the sub-obligations to the `obligation` list, we can affect whether or not the final result is `EvaluatedToOk` or `EvaluatedToOkModuloObligations`. This creates problems for incremental compilation, since the projection cache is untracked shared state.

To solve this issue, we unconditionally process the sub-obligations. Surprisingly, this is a slight performance *win* in many cases.
2021-05-21 02:39:39 +00:00
..
src Auto merge of #85382 - Aaron1011:project-eval, r=nikomatsakis 2021-05-21 02:39:39 +00:00
Cargo.toml bumped smallvec deps 2021-02-14 18:03:11 +03:00