diff options
Diffstat (limited to 'crates/ra_hir_def/src')
-rw-r--r-- | crates/ra_hir_def/src/nameres/collector.rs | 2 |
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 | } |