diff options
Diffstat (limited to 'crates/ra_hir/src/ty')
-rw-r--r-- | crates/ra_hir/src/ty/method_resolution.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir/src/ty/method_resolution.rs b/crates/ra_hir/src/ty/method_resolution.rs index 53b6d15a8..9f65c5fe1 100644 --- a/crates/ra_hir/src/ty/method_resolution.rs +++ b/crates/ra_hir/src/ty/method_resolution.rs | |||
@@ -11,7 +11,7 @@ use ra_db::SourceRootId; | |||
11 | use crate::{ | 11 | use crate::{ |
12 | HirDatabase, DefId, module_tree::ModuleId, Module, Crate, Name, Function, | 12 | HirDatabase, DefId, module_tree::ModuleId, Module, Crate, Name, Function, |
13 | impl_block::{ImplId, ImplBlock, ImplItem}, | 13 | impl_block::{ImplId, ImplBlock, ImplItem}, |
14 | generics::Generics | 14 | generics::GenericParams |
15 | }; | 15 | }; |
16 | use super::Ty; | 16 | use super::Ty; |
17 | 17 | ||
@@ -69,7 +69,7 @@ impl CrateImplBlocks { | |||
69 | // ignore for now | 69 | // ignore for now |
70 | } else { | 70 | } else { |
71 | // TODO provide generics of impl | 71 | // TODO provide generics of impl |
72 | let generics = Generics::default(); | 72 | let generics = GenericParams::default(); |
73 | let target_ty = Ty::from_hir( | 73 | let target_ty = Ty::from_hir( |
74 | db, | 74 | db, |
75 | &module, | 75 | &module, |