rename hir_def -> hir_expand

This commit is contained in:
Aleksey Kladov 2019-10-29 14:59:55 +03:00
parent 5413875644
commit 5b803055b7
10 changed files with 7 additions and 7 deletions

4
Cargo.lock generated
View file

@ -991,7 +991,7 @@ dependencies = [
"ra_arena 0.1.0",
"ra_cfg 0.1.0",
"ra_db 0.1.0",
"ra_hir_def 0.1.0",
"ra_hir_expand 0.1.0",
"ra_mbe 0.1.0",
"ra_prof 0.1.0",
"ra_syntax 0.1.0",
@ -1002,7 +1002,7 @@ dependencies = [
]
[[package]]
name = "ra_hir_def"
name = "ra_hir_expand"
version = "0.1.0"
dependencies = [
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",

View file

@ -19,7 +19,7 @@ ra_cfg = { path = "../ra_cfg" }
ra_db = { path = "../ra_db" }
mbe = { path = "../ra_mbe", package = "ra_mbe" }
tt = { path = "../ra_tt", package = "ra_tt" }
hir_def = { path = "../ra_hir_def", package = "ra_hir_def" }
hir_expand = { path = "../ra_hir_expand", package = "ra_hir_expand" }
test_utils = { path = "../test_utils" }
ra_prof = { path = "../ra_prof" }

View file

@ -23,7 +23,7 @@ use crate::{
Static, Struct, StructField, Trait, TypeAlias,
};
pub use hir_def::db::{
pub use hir_expand::db::{
AstDatabase, AstDatabaseStorage, AstIdMapQuery, MacroArgQuery, MacroDefQuery, MacroExpandQuery,
ParseMacroQuery,
};

View file

@ -15,7 +15,7 @@ use crate::{
AstId, FileAstId, Module, Source,
};
pub use hir_def::expand::{
pub use hir_expand::expand::{
HirFileId, MacroCallId, MacroCallLoc, MacroDefId, MacroFile, MacroFileKind,
};

View file

@ -1,6 +1,6 @@
//! FIXME: write short doc here
pub use hir_def::{
pub use hir_expand::{
ast_id_map::{AstIdMap, ErasedFileAstId, FileAstId},
expand::AstId,
};

View file

@ -1,6 +1,6 @@
[package]
edition = "2018"
name = "ra_hir_def"
name = "ra_hir_expand"
version = "0.1.0"
authors = ["rust-analyzer developers"]