aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir')
-rw-r--r--crates/ra_hir/src/nameres.rs2
-rw-r--r--crates/ra_hir/src/nameres/raw.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir/src/nameres.rs b/crates/ra_hir/src/nameres.rs
index 15b5b4ee6..67adcfa28 100644
--- a/crates/ra_hir/src/nameres.rs
+++ b/crates/ra_hir/src/nameres.rs
@@ -342,7 +342,7 @@ impl CrateDefMap {
342 tested_by!(macro_dollar_crate_other); 342 tested_by!(macro_dollar_crate_other);
343 PerNs::types(module.into()) 343 PerNs::types(module.into())
344 } 344 }
345 None => return ResolvePathResult::empty(ReachedFixedPoint::No), 345 None => return ResolvePathResult::empty(ReachedFixedPoint::Yes),
346 } 346 }
347 } 347 }
348 } 348 }
diff --git a/crates/ra_hir/src/nameres/raw.rs b/crates/ra_hir/src/nameres/raw.rs
index c607b8a11..c494b95b0 100644
--- a/crates/ra_hir/src/nameres/raw.rs
+++ b/crates/ra_hir/src/nameres/raw.rs
@@ -202,7 +202,7 @@ struct RawItemsCollector<DB> {
202 db: DB, 202 db: DB,
203} 203}
204 204
205impl<DB: AstDatabase> RawItemsCollector<&'_ DB> { 205impl<DB: AstDatabase> RawItemsCollector<&DB> {
206 fn process_module(&mut self, current_module: Option<Module>, body: impl ast::ModuleItemOwner) { 206 fn process_module(&mut self, current_module: Option<Module>, body: impl ast::ModuleItemOwner) {
207 for item_or_macro in body.items_with_macros() { 207 for item_or_macro in body.items_with_macros() {
208 match item_or_macro { 208 match item_or_macro {