Skip to content

Commit 800a212

Browse files
ok now recur
1 parent 6f28acf commit 800a212

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
@@ -191,7 +191,7 @@ fn overlap<'tcx>(
191191
.with_next_trait_solver(tcx.next_trait_solver_in_coherence())
192192
.build();
193193
let selcx =
194-
&mut SelectionContext::with_treat_inductive_cycle_as(&infcx, TreatInductiveCycleAs::Ambig);
194+
&mut SelectionContext::with_treat_inductive_cycle_as(&infcx, TreatInductiveCycleAs::Recur);
195195
if track_ambiguity_causes.is_yes() {
196196
selcx.enable_tracking_intercrate_ambiguity_causes();
197197
}

0 commit comments

Comments
 (0)