diff options
author | Aleksey Kladov <[email protected]> | 2019-11-21 12:39:09 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-11-21 12:39:09 +0000 |
commit | 6d64798a2300858c74b1cc0a22f6d3df578288b3 (patch) | |
tree | cd22f6a6a743bf15dc671995c49904477b249604 /crates/ra_hir/src/ty/infer.rs | |
parent | 00684d708b64fe81a0264795f27594d450a8d08d (diff) |
Move resolver to hir_def
Diffstat (limited to 'crates/ra_hir/src/ty/infer.rs')
-rw-r--r-- | crates/ra_hir/src/ty/infer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/ty/infer.rs b/crates/ra_hir/src/ty/infer.rs index c3d65afa6..69b13baef 100644 --- a/crates/ra_hir/src/ty/infer.rs +++ b/crates/ra_hir/src/ty/infer.rs | |||
@@ -23,6 +23,7 @@ use rustc_hash::FxHashMap; | |||
23 | 23 | ||
24 | use hir_def::{ | 24 | use hir_def::{ |
25 | path::known, | 25 | path::known, |
26 | resolver::{HasResolver, Resolver, TypeNs}, | ||
26 | type_ref::{Mutability, TypeRef}, | 27 | type_ref::{Mutability, TypeRef}, |
27 | AdtId, DefWithBodyId, | 28 | AdtId, DefWithBodyId, |
28 | }; | 29 | }; |
@@ -41,7 +42,6 @@ use crate::{ | |||
41 | code_model::TypeAlias, | 42 | code_model::TypeAlias, |
42 | db::HirDatabase, | 43 | db::HirDatabase, |
43 | expr::{BindingAnnotation, Body, ExprId, PatId}, | 44 | expr::{BindingAnnotation, Body, ExprId, PatId}, |
44 | resolve::{HasResolver, Resolver, TypeNs}, | ||
45 | ty::infer::diagnostics::InferenceDiagnostic, | 45 | ty::infer::diagnostics::InferenceDiagnostic, |
46 | Adt, AssocItem, ConstData, DefWithBody, FloatTy, FnData, Function, HasBody, IntTy, Path, | 46 | Adt, AssocItem, ConstData, DefWithBody, FloatTy, FnData, Function, HasBody, IntTy, Path, |
47 | StructField, Trait, VariantDef, | 47 | StructField, Trait, VariantDef, |