diff options
Diffstat (limited to 'crates/ra_hir_def/src/resolver.rs')
-rw-r--r-- | crates/ra_hir_def/src/resolver.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/resolver.rs b/crates/ra_hir_def/src/resolver.rs index 9484a61d5..f87b16b44 100644 --- a/crates/ra_hir_def/src/resolver.rs +++ b/crates/ra_hir_def/src/resolver.rs | |||
@@ -564,7 +564,8 @@ impl HasResolver for TypeAliasId { | |||
564 | 564 | ||
565 | impl HasResolver for ImplId { | 565 | impl HasResolver for ImplId { |
566 | fn resolver(self, db: &impl DefDatabase) -> Resolver { | 566 | fn resolver(self, db: &impl DefDatabase) -> Resolver { |
567 | self.module(db) | 567 | self.lookup(db) |
568 | .container | ||
568 | .resolver(db) | 569 | .resolver(db) |
569 | .push_generic_params_scope(db, self.into()) | 570 | .push_generic_params_scope(db, self.into()) |
570 | .push_impl_block_scope(self) | 571 | .push_impl_block_scope(self) |