rename LoweredImport -> ImportId

This commit is contained in:
Aleksey Kladov 2019-01-18 16:56:02 +03:00
parent c0aeb5204c
commit 63f7dadc11
8 changed files with 25 additions and 185 deletions

View file

@ -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