rename code_model_api -> code_model

This commit is contained in:
Aleksey Kladov 2019-05-23 21:14:19 +03:00
parent 0e57d58dd0
commit ef3169a33a
4 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ use crate::{
resolve::Resolver,
ty::Ty,
generics::HasGenericParams,
code_model_api::{Module, ModuleSource}
code_model::{Module, ModuleSource}
};
#[derive(Debug, Default, PartialEq, Eq)]

View File

@ -42,7 +42,7 @@ mod docs;
mod resolve;
pub mod diagnostics;
mod code_model_api;
mod code_model;
#[cfg(test)]
mod marks;
@ -72,7 +72,7 @@ pub use self::{
source_binder::{SourceAnalyzer, PathResolution, ScopeEntryWithSyntax,MacroByExampleDef},
};
pub use self::code_model_api::{
pub use self::code_model::{
Crate, CrateDependency,
DefWithBody,
Module, ModuleDef, ModuleSource,

View File

@ -5,7 +5,7 @@ use rustc_hash::{FxHashMap, FxHashSet};
use crate::{
ModuleDef, Trait,
code_model_api::Crate,
code_model::Crate,
MacroDefId,
db::HirDatabase,
name::{Name, KnownName},