diff --git a/crates/ra_hir_def/src/nameres/collector.rs b/crates/ra_hir_def/src/nameres/collector.rs index 6352c71ef18..b1f3f525dd1 100644 --- a/crates/ra_hir_def/src/nameres/collector.rs +++ b/crates/ra_hir_def/src/nameres/collector.rs @@ -146,7 +146,7 @@ where ReachedFixedPoint::Yes => break, ReachedFixedPoint::No => i += 1, } - if i == 1000 { + if i == 10000 { log::error!("name resolution is stuck"); break; }