From ef7eb8c2576963a9a2df405feff354d36366b202 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 30 Jan 2019 22:23:14 +0300 Subject: Use Crate instead of CrateId --- crates/ra_hir/src/ty/method_resolution.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_hir/src/ty') diff --git a/crates/ra_hir/src/ty/method_resolution.rs b/crates/ra_hir/src/ty/method_resolution.rs index d70a24582..37bc3f38c 100644 --- a/crates/ra_hir/src/ty/method_resolution.rs +++ b/crates/ra_hir/src/ty/method_resolution.rs @@ -52,7 +52,7 @@ impl CrateImplBlocks { .flat_map(|i| i.iter()) .map(move |(module_id, impl_id)| { let module = Module { - krate: self.krate.crate_id, + krate: self.krate, module_id: *module_id, }; let module_impl_blocks = db.impls_in_module(module); -- cgit v1.2.3