Fix visit_ex_clause_with

The sub-visits were incorrectly combined with an `&&` instead of
an `||`.
This commit is contained in:
scalexm
2018-11-23 19:45:39 +01:00
parent 50f8ae364b
commit 37ef0c38b7
+3 -3
View File
@@ -547,9 +547,9 @@ fn visit_ex_clause_with<'gcx: 'tcx, V: TypeVisitor<'tcx>>(
subgoals,
} = ex_clause;
subst.visit_with(visitor)
&& delayed_literals.visit_with(visitor)
&& constraints.visit_with(visitor)
&& subgoals.visit_with(visitor)
|| delayed_literals.visit_with(visitor)
|| constraints.visit_with(visitor)
|| subgoals.visit_with(visitor)
}
}