We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f28acf commit 800a212Copy full SHA for 800a212
compiler/rustc_trait_selection/src/traits/coherence.rs
@@ -191,7 +191,7 @@ fn overlap<'tcx>(
191
.with_next_trait_solver(tcx.next_trait_solver_in_coherence())
192
.build();
193
let selcx =
194
- &mut SelectionContext::with_treat_inductive_cycle_as(&infcx, TreatInductiveCycleAs::Ambig);
+ &mut SelectionContext::with_treat_inductive_cycle_as(&infcx, TreatInductiveCycleAs::Recur);
195
if track_ambiguity_causes.is_yes() {
196
selcx.enable_tracking_intercrate_ambiguity_causes();
197
}
0 commit comments