diff options
Diffstat (limited to 'crates/ra_hir/src/impl_block.rs')
-rw-r--r-- | crates/ra_hir/src/impl_block.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_hir/src/impl_block.rs b/crates/ra_hir/src/impl_block.rs index ab996a12c..551d0d149 100644 --- a/crates/ra_hir/src/impl_block.rs +++ b/crates/ra_hir/src/impl_block.rs | |||
@@ -3,11 +3,11 @@ use rustc_hash::FxHashMap; | |||
3 | 3 | ||
4 | use ra_arena::{Arena, RawId, impl_arena_id}; | 4 | use ra_arena::{Arena, RawId, impl_arena_id}; |
5 | use ra_syntax::ast::{self, AstNode}; | 5 | use ra_syntax::ast::{self, AstNode}; |
6 | use ra_db::{LocationIntener, SourceRootId}; | 6 | use ra_db::{SourceRootId}; |
7 | 7 | ||
8 | use crate::{ | 8 | use crate::{ |
9 | DefId, DefLoc, DefKind, SourceItemId, SourceFileItems, | 9 | DefId, DefLoc, DefKind, SourceItemId, SourceFileItems, |
10 | Function, | 10 | Function, HirInterner, |
11 | db::HirDatabase, | 11 | db::HirDatabase, |
12 | type_ref::TypeRef, | 12 | type_ref::TypeRef, |
13 | module_tree::ModuleId, | 13 | module_tree::ModuleId, |
@@ -66,7 +66,7 @@ pub struct ImplData { | |||
66 | 66 | ||
67 | impl ImplData { | 67 | impl ImplData { |
68 | pub(crate) fn from_ast( | 68 | pub(crate) fn from_ast( |
69 | db: &impl AsRef<LocationIntener<DefLoc, DefId>>, | 69 | db: &impl AsRef<HirInterner>, |
70 | file_items: &SourceFileItems, | 70 | file_items: &SourceFileItems, |
71 | module: &Module, | 71 | module: &Module, |
72 | node: &ast::ImplBlock, | 72 | node: &ast::ImplBlock, |