From e6aeabf96f9cf339c81f3e79502d477269d141ed Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Fri, 4 Jan 2019 19:52:07 +0100 Subject: Rename ImplsInCrateQuery as well --- crates/ra_hir/src/db.rs | 2 +- crates/ra_hir/src/mock.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_hir') diff --git a/crates/ra_hir/src/db.rs b/crates/ra_hir/src/db.rs index a045bbb12..58296fc6f 100644 --- a/crates/ra_hir/src/db.rs +++ b/crates/ra_hir/src/db.rs @@ -90,7 +90,7 @@ pub trait HirDatabase: SyntaxDatabase } fn impls_in_module(source_root_id: SourceRootId, module_id: ModuleId) -> Cancelable> { - type ImplsInCrateQuery; + type ImplsInModuleQuery; use fn crate::impl_block::impls_in_module; } } diff --git a/crates/ra_hir/src/mock.rs b/crates/ra_hir/src/mock.rs index 2419d256a..a9db932ff 100644 --- a/crates/ra_hir/src/mock.rs +++ b/crates/ra_hir/src/mock.rs @@ -207,7 +207,7 @@ salsa::database_storage! { fn type_for_field() for db::TypeForFieldQuery; fn struct_data() for db::StructDataQuery; fn enum_data() for db::EnumDataQuery; - fn impls_in_crate() for db::ImplsInCrateQuery; + fn impls_in_module() for db::ImplsInModuleQuery; } } } -- cgit v1.2.3