From 882a86240f42068038586431e7e5de5de247720c Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 1 Jan 2019 18:12:31 +0300 Subject: rename --- crates/ra_analysis/src/db.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crates/ra_analysis/src') diff --git a/crates/ra_analysis/src/db.rs b/crates/ra_analysis/src/db.rs index 2a71cc2b6..86c15f4ee 100644 --- a/crates/ra_analysis/src/db.rs +++ b/crates/ra_analysis/src/db.rs @@ -15,7 +15,7 @@ pub(crate) struct RootDatabase { #[derive(Default)] struct IdMaps { defs: LocationIntener, - macros: LocationIntener, + macros: LocationIntener, } impl fmt::Debug for IdMaps { @@ -65,8 +65,8 @@ impl AsRef> for RootDatabase { } } -impl AsRef> for RootDatabase { - fn as_ref(&self) -> &LocationIntener { +impl AsRef> for RootDatabase { + fn as_ref(&self) -> &LocationIntener { &self.id_maps.macros } } @@ -91,7 +91,7 @@ salsa::database_storage! { fn library_symbols() for symbol_index::LibrarySymbolsQuery; } impl hir::db::HirDatabase { - fn expand_macro_invocation() for hir::db::ExpandMacroInvocationQuery; + fn expand_macro_invocation() for hir::db::ExpandMacroCallQuery; fn module_tree() for hir::db::ModuleTreeQuery; fn fn_scopes() for hir::db::FnScopesQuery; fn file_items() for hir::db::SourceFileItemsQuery; -- cgit v1.2.3