mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 11:07:42 +00:00
Fix
This commit is contained in:
parent
2ecb126f5c
commit
edadeb95be
@ -342,7 +342,7 @@ impl CrateDefMap {
|
|||||||
tested_by!(macro_dollar_crate_other);
|
tested_by!(macro_dollar_crate_other);
|
||||||
PerNs::types(module.into())
|
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,
|
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) {
|
fn process_module(&mut self, current_module: Option<Module>, body: impl ast::ModuleItemOwner) {
|
||||||
for item_or_macro in body.items_with_macros() {
|
for item_or_macro in body.items_with_macros() {
|
||||||
match item_or_macro {
|
match item_or_macro {
|
||||||
|
Loading…
Reference in New Issue
Block a user