rust/compiler/rustc_trait_selection
Matthew Jasper 89164cdff6 Prevent caching projections in the case of cycles
When normalizing a projection which results in a cycle, we would
cache the result of `project_type` without the nested obligations
(because they're not needed for inference). This would result in
the nested obligations only being handled once in fulfill, which
would avoid the cycle error.

Fixes #79714, a regresion from #79305 caused by the removal of
`get_paranoid_cache_value_obligation`.
2020-12-31 09:52:10 -05:00
..
src Prevent caching projections in the case of cycles 2020-12-31 09:52:10 -05:00
Cargo.toml mv compiler to compiler/ 2020-08-30 18:45:07 +03:00