We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ab2bcd commit 60d99abCopy full SHA for 60d99ab
compiler/rustc_trait_selection/src/solve/inspect/analyse.rs
@@ -58,7 +58,7 @@ impl<'a, 'tcx> InspectCandidate<'a, 'tcx> {
58
visitor: &mut V,
59
) -> ControlFlow<V::BreakTy> {
60
// HACK: An arbitrary cutoff to avoid dealing with overflow and cycles.
61
- if self.goal.depth >= 10 {
+ if self.goal.depth <= 10 {
62
let infcx = self.goal.infcx;
63
infcx.probe(|_| {
64
let mut instantiated_goals = vec![];
0 commit comments