mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
rename LoweredImport -> ImportId
This commit is contained in:
parent
c0aeb5204c
commit
63f7dadc11
8 changed files with 25 additions and 185 deletions
|
@ -142,7 +142,7 @@ pub fn macro_symbols(db: &impl HirDatabase, file_id: FileId) -> Vec<(SmolStr, Te
|
|||
None => return Vec::new(),
|
||||
};
|
||||
let loc = module.def_id.loc(db);
|
||||
let items = db.input_module_items(loc.source_root_id, loc.module_id);
|
||||
let items = db.lower_module_module(loc.source_root_id, loc.module_id);
|
||||
let mut res = Vec::new();
|
||||
|
||||
for macro_call_id in items
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue