Move resolver to hir_def

This commit is contained in:
Aleksey Kladov 2019-11-21 15:39:09 +03:00
parent 00684d708b
commit 6d64798a23
14 changed files with 63 additions and 77 deletions

View file

@ -11,6 +11,7 @@ use hir_def::{
body::scope::ExprScopes,
builtin_type::BuiltinType,
nameres::per_ns::PerNs,
resolver::{HasResolver, TypeNs},
traits::TraitData,
type_ref::{Mutability, TypeRef},
ContainerId, CrateModuleId, HasModule, ImplId, LocalEnumVariantId, LocalStructFieldId, Lookup,
@ -31,7 +32,6 @@ use crate::{
AstItemDef, ConstId, EnumId, FunctionId, MacroDefId, StaticId, StructId, TraitId,
TypeAliasId,
},
resolve::{HasResolver, TypeNs},
ty::{InferenceResult, Namespace, TraitRef},
Either, HasSource, ImportId, Name, Source, Ty,
};