Skip to content

Commit 2fb84b6

Browse files
committed
w
1 parent 6ba65c3 commit 2fb84b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_trait_selection/src/traits/coherence.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,7 @@ impl<'a, 'tcx> ProofTreeVisitor<'tcx> for AmbiguityCausesVisitor<'a, 'tcx> {
10291029
fn visit_goal(&mut self, goal: &InspectGoal<'_, 'tcx>) {
10301030
let infcx = goal.infcx();
10311031
for cand in goal.candidates() {
1032-
cand.visit_nested(self);
1032+
cand.visit_nested_in_probe(self);
10331033
}
10341034
// When searching for intercrate ambiguity causes, we only need to look
10351035
// at ambiguous goals, as for others the coherence unknowable candidate

0 commit comments

Comments
 (0)