Replace module_tree with CrateDefMap

This commit is contained in:
Aleksey Kladov 2019-03-13 16:38:02 +03:00
parent 182c05a96c
commit 2195d1db6d
16 changed files with 333 additions and 511 deletions

View file

@ -9,12 +9,12 @@ use crate::{
HirDatabase, PersistentHirDatabase,
type_ref::TypeRef,
nameres::{ModuleScope, Namespace, lower::ImportId},
nameres::crate_def_map::ModuleId,
expr::{Body, BodySourceMap},
ty::InferenceResult,
adt::{EnumVariantId, StructFieldId, VariantDef},
generics::GenericParams,
docs::{Documentation, Docs, docs_from_ast},
module_tree::ModuleId,
ids::{FunctionId, StructId, EnumId, AstItemDef, ConstId, StaticId, TraitId, TypeId},
impl_block::ImplBlock,
resolve::Resolver,