mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
Fix visit_ex_clause_with
The sub-visits were incorrectly combined with an `&&` instead of an `||`.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user