From 57a82fb05b46fd028c0b971dc6ce317db3682146 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Mon, 18 Jan 2021 20:18:05 +0100 Subject: Rename `CrateDefMap` to `DefMap` --- crates/hir_ty/src/tests.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/hir_ty') diff --git a/crates/hir_ty/src/tests.rs b/crates/hir_ty/src/tests.rs index 5ff755321..4a3fcea8d 100644 --- a/crates/hir_ty/src/tests.rs +++ b/crates/hir_ty/src/tests.rs @@ -18,7 +18,7 @@ use hir_def::{ db::DefDatabase, item_scope::ItemScope, keys, - nameres::CrateDefMap, + nameres::DefMap, AssocItemId, DefWithBodyId, LocalModuleId, Lookup, ModuleDefId, }; use hir_expand::{db::AstDatabase, InFile}; @@ -221,7 +221,7 @@ fn infer_with_mismatches(content: &str, include_mismatches: bool) -> String { fn visit_module( db: &TestDB, - crate_def_map: &CrateDefMap, + crate_def_map: &DefMap, module_id: LocalModuleId, cb: &mut dyn FnMut(DefWithBodyId), ) { @@ -249,7 +249,7 @@ fn visit_module( fn visit_scope( db: &TestDB, - crate_def_map: &CrateDefMap, + crate_def_map: &DefMap, scope: &ItemScope, cb: &mut dyn FnMut(DefWithBodyId), ) { -- cgit v1.2.3