1
Fork 0

Rename HAS_PROJECTIONS to HAS_ALIASES etc.

This commit is contained in:
León Orell Valerian Liehr 2024-04-04 19:26:17 +02:00
parent 5dbaafdb93
commit 6f17b7f0ab
No known key found for this signature in database
GPG key ID: D17A07215F68E713
12 changed files with 21 additions and 17 deletions

View file

@ -1066,7 +1066,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
// so we will try to normalize the obligation and evaluate again.
// we will replace it with new solver in the future.
if EvaluationResult::EvaluatedToErr == result
&& fresh_trait_pred.has_projections()
&& fresh_trait_pred.has_aliases()
&& fresh_trait_pred.is_global()
{
let mut nested_obligations = Vec::new();