aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-02-14 21:17:46 +0000
committerGitHub <[email protected]>2020-02-14 21:17:46 +0000
commit3615975001f09cb322dcbfc2e7d143fa6e9353f6 (patch)
treebf8d05b6356a3e5c30530f48d95a70c3d73a54cb /crates/ra_hir_def/src
parentab42174653ae42f8d862f28ef802bf1312be1694 (diff)
parent843f03a3d2d242b765dc2b972d7d29ea85ec881e (diff)
Merge #3150
3150: Bump crate resolution limit for large projects r=matklad a=benbrittain Co-authored-by: Benjamin Brittain <[email protected]>
Diffstat (limited to 'crates/ra_hir_def/src')
-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 }