mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 01:17:27 +00:00
Fix
This commit is contained in:
parent
2ecb126f5c
commit
edadeb95be
2 changed files with 2 additions and 2 deletions
|
@ -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),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue