aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/nameres
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-12-20 15:55:38 +0000
committerAleksey Kladov <[email protected]>2019-12-20 15:55:38 +0000
commitaf42cb5981a1f94116b1da8cfeedb6efdd5aeb01 (patch)
tree26c26735a3c535ad78264f2c1234434ca477fc85 /crates/ra_hir_def/src/nameres
parent7adb53319d963d0a40906a6847124974da1d5183 (diff)
Privitize impls
Diffstat (limited to 'crates/ra_hir_def/src/nameres')
-rw-r--r--crates/ra_hir_def/src/nameres/collector.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/nameres/collector.rs b/crates/ra_hir_def/src/nameres/collector.rs
index d62fae8a6..b064ccc9c 100644
--- a/crates/ra_hir_def/src/nameres/collector.rs
+++ b/crates/ra_hir_def/src/nameres/collector.rs
@@ -635,7 +635,9 @@ where
635 let impl_id = 635 let impl_id =
636 ImplLoc { container, ast_id: AstId::new(self.file_id, ast_id) } 636 ImplLoc { container, ast_id: AstId::new(self.file_id, ast_id) }
637 .intern(self.def_collector.db); 637 .intern(self.def_collector.db);
638 self.def_collector.def_map.modules[self.module_id].scope.impls.push(impl_id) 638 self.def_collector.def_map.modules[self.module_id]
639 .scope
640 .define_impl(impl_id)
639 } 641 }
640 } 642 }
641 } 643 }