add items from macros to modules

This commit is contained in:
Aleksey Kladov 2019-01-01 21:52:07 +03:00
parent 4a3f76d3bb
commit 756e878158
3 changed files with 67 additions and 12 deletions

View file

@ -91,6 +91,7 @@ salsa::database_storage! {
fn library_symbols() for symbol_index::LibrarySymbolsQuery;
}
impl hir::db::HirDatabase {
fn m_source_file() for hir::db::MSourceFileQuery;
fn expand_macro_invocation() for hir::db::ExpandMacroCallQuery;
fn module_tree() for hir::db::ModuleTreeQuery;
fn fn_scopes() for hir::db::FnScopesQuery;