aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorBenjamin Brittain <[email protected]>2020-02-14 21:15:27 +0000
committerBenjamin Brittain <[email protected]>2020-02-14 21:15:59 +0000
commit843f03a3d2d242b765dc2b972d7d29ea85ec881e (patch)
treeb782526645168c4edb7a7637ef6f1aa34b4a6113 /crates
parentb2b94cbf71738e7bc372328f22c8dcc8c734b34c (diff)
Bump crate resolution limit for large projects
Change-Id: Ie0221e5bcfd1779cd5e241f96b4489e5bd3854c1
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_hir_def/src/nameres/collector.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/nameres/collector.rs b/crates/ra_hir_def/src/nameres/collector.rs
index 6352c71ef..b1f3f525d 100644
--- a/crates/ra_hir_def/src/nameres/collector.rs
+++ b/crates/ra_hir_def/src/nameres/collector.rs
@@ -146,7 +146,7 @@ where
146 ReachedFixedPoint::Yes => break, 146 ReachedFixedPoint::Yes => break,
147 ReachedFixedPoint::No => i += 1, 147 ReachedFixedPoint::No => i += 1,
148 } 148 }
149 if i == 1000 { 149 if i == 10000 {
150 log::error!("name resolution is stuck"); 150 log::error!("name resolution is stuck");
151 break; 151 break;
152 } 152 }