From bc77f91cf6bec95176b32d0794775e5f00c25367 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 25 Jan 2019 10:16:28 +0300 Subject: rename def_id -> def --- crates/ra_hir/src/nameres/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_hir/src/nameres') diff --git a/crates/ra_hir/src/nameres/tests.rs b/crates/ra_hir/src/nameres/tests.rs index 430d16a2e..7e35c016f 100644 --- a/crates/ra_hir/src/nameres/tests.rs +++ b/crates/ra_hir/src/nameres/tests.rs @@ -37,8 +37,8 @@ fn check_module_item_map(map: &ItemMap, module_id: ModuleId, expected: &str) { fn dump_resolution(resolution: &Resolution) -> &'static str { match ( - resolution.def_id.types.is_some(), - resolution.def_id.values.is_some(), + resolution.def.types.is_some(), + resolution.def.values.is_some(), ) { (true, true) => "t v", (true, false) => "t", -- cgit v1.2.3