Rename HAS_PROJECTIONS to HAS_ALIASES etc.
This commit is contained in:
parent
5dbaafdb93
commit
6f17b7f0ab
12 changed files with 21 additions and 17 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue