This commit is contained in:
uHOOCCOOHu 2019-09-27 10:55:25 +08:00
parent 2ecb126f5c
commit edadeb95be
No known key found for this signature in database
GPG key ID: CED392DE0C483D00
2 changed files with 2 additions and 2 deletions

View file

@ -342,7 +342,7 @@ impl CrateDefMap {
tested_by!(macro_dollar_crate_other);
PerNs::types(module.into())
}
None => return ResolvePathResult::empty(ReachedFixedPoint::No),
None => return ResolvePathResult::empty(ReachedFixedPoint::Yes),
}
}
}

View file

@ -202,7 +202,7 @@ struct RawItemsCollector<DB> {
db: DB,
}
impl<DB: AstDatabase> RawItemsCollector<&'_ DB> {
impl<DB: AstDatabase> RawItemsCollector<&DB> {
fn process_module(&mut self, current_module: Option<Module>, body: impl ast::ModuleItemOwner) {
for item_or_macro in body.items_with_macros() {
match item_or_macro {