diff options
author | Aleksey Kladov <[email protected]> | 2019-12-20 14:58:20 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-12-20 15:52:02 +0000 |
commit | 1b8ce5b37b597679796b3ebc57afd55af49449b0 (patch) | |
tree | 25851606a456296568234cd3b4f9a81ba3921a14 /crates/ra_hir_def/src/nameres/collector.rs | |
parent | 030e540ad19046e2037981ec8e15a6800b86bbe9 (diff) |
Move impls to ItemScope
Diffstat (limited to 'crates/ra_hir_def/src/nameres/collector.rs')
-rw-r--r-- | crates/ra_hir_def/src/nameres/collector.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/nameres/collector.rs b/crates/ra_hir_def/src/nameres/collector.rs index ea6ce5f97..c4f6bcd95 100644 --- a/crates/ra_hir_def/src/nameres/collector.rs +++ b/crates/ra_hir_def/src/nameres/collector.rs | |||
@@ -667,7 +667,7 @@ where | |||
667 | let impl_id = | 667 | let impl_id = |
668 | ImplLoc { container, ast_id: AstId::new(self.file_id, ast_id) } | 668 | ImplLoc { container, ast_id: AstId::new(self.file_id, ast_id) } |
669 | .intern(self.def_collector.db); | 669 | .intern(self.def_collector.db); |
670 | self.def_collector.def_map.modules[self.module_id].impls.push(impl_id) | 670 | self.def_collector.def_map.modules[self.module_id].scope.impls.push(impl_id) |
671 | } | 671 | } |
672 | } | 672 | } |
673 | } | 673 | } |