aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/nameres
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-10-30 10:10:38 +0000
committerAleksey Kladov <[email protected]>2019-10-30 10:11:38 +0000
commitc9cd6aa370667783292de3bc580e0503a409e453 (patch)
tree4662b1c76bed5e830c1dae9ee5dbf47520f41e1e /crates/ra_hir/src/nameres
parenta136cc0653d2b4133fb6387009cfdbaf3e2cf275 (diff)
Move ids to hir_def crate
Diffstat (limited to 'crates/ra_hir/src/nameres')
-rw-r--r--crates/ra_hir/src/nameres/collector.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/nameres/collector.rs b/crates/ra_hir/src/nameres/collector.rs
index dd5f9d4ba..a94a0554c 100644
--- a/crates/ra_hir/src/nameres/collector.rs
+++ b/crates/ra_hir/src/nameres/collector.rs
@@ -641,7 +641,7 @@ where
641 641
642 fn define_def(&mut self, def: &raw::DefData) { 642 fn define_def(&mut self, def: &raw::DefData) {
643 let module = Module::new(self.def_collector.def_map.krate, self.module_id); 643 let module = Module::new(self.def_collector.def_map.krate, self.module_id);
644 let ctx = LocationCtx::new(self.def_collector.db, module, self.file_id); 644 let ctx = LocationCtx::new(self.def_collector.db, module.id, self.file_id);
645 645
646 macro_rules! def { 646 macro_rules! def {
647 ($kind:ident, $ast_id:ident) => { 647 ($kind:ident, $ast_id:ident) => {