rust/compiler/rustc_trait_selection/src
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
..
traits Auto merge of #85382 - Aaron1011:project-eval, r=nikomatsakis 2021-05-21 02:39:39 +00:00
autoderef.rs Remove ProjectionTy::from_ref_and_name 2021-02-13 19:29:55 +00:00
infer.rs Fix use of bare trait objects everywhere 2021-03-18 02:18:58 +03:00
lib.rs have on_completion record subcycles 2021-05-13 05:58:21 -04:00
opaque_types.rs New rustdoc lint to respect -Dwarnings correctly 2021-05-17 21:31:01 -04:00