diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-30 19:37:48 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-30 19:37:48 +0000 |
commit | c65e6cdcb3d603ce7c0943785f7140662022c54a (patch) | |
tree | b92e52aed2a5b22d73cbebccd08f2870c8212b16 /crates/ra_hir/src/ty | |
parent | b704ce803b99f0c69bbcd3d4ab531d2604de8594 (diff) | |
parent | ef7eb8c2576963a9a2df405feff354d36366b202 (diff) |
Merge #709
709: Use Crate instead of CrateId r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/ty')
-rw-r--r-- | crates/ra_hir/src/ty/method_resolution.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
52 | .flat_map(|i| i.iter()) | 52 | .flat_map(|i| i.iter()) |
53 | .map(move |(module_id, impl_id)| { | 53 | .map(move |(module_id, impl_id)| { |
54 | let module = Module { | 54 | let module = Module { |
55 | krate: self.krate.crate_id, | 55 | krate: self.krate, |
56 | module_id: *module_id, | 56 | module_id: *module_id, |
57 | }; | 57 | }; |
58 | let module_impl_blocks = db.impls_in_module(module); | 58 | let module_impl_blocks = db.impls_in_module(module); |