mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
rename hir_def -> hir_expand
This commit is contained in:
parent
5413875644
commit
5b803055b7
10 changed files with 7 additions and 7 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -991,7 +991,7 @@ dependencies = [
|
||||||
"ra_arena 0.1.0",
|
"ra_arena 0.1.0",
|
||||||
"ra_cfg 0.1.0",
|
"ra_cfg 0.1.0",
|
||||||
"ra_db 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_mbe 0.1.0",
|
||||||
"ra_prof 0.1.0",
|
"ra_prof 0.1.0",
|
||||||
"ra_syntax 0.1.0",
|
"ra_syntax 0.1.0",
|
||||||
|
@ -1002,7 +1002,7 @@ dependencies = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ra_hir_def"
|
name = "ra_hir_expand"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
|
@ -19,7 +19,7 @@ ra_cfg = { path = "../ra_cfg" }
|
||||||
ra_db = { path = "../ra_db" }
|
ra_db = { path = "../ra_db" }
|
||||||
mbe = { path = "../ra_mbe", package = "ra_mbe" }
|
mbe = { path = "../ra_mbe", package = "ra_mbe" }
|
||||||
tt = { path = "../ra_tt", package = "ra_tt" }
|
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" }
|
test_utils = { path = "../test_utils" }
|
||||||
ra_prof = { path = "../ra_prof" }
|
ra_prof = { path = "../ra_prof" }
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ use crate::{
|
||||||
Static, Struct, StructField, Trait, TypeAlias,
|
Static, Struct, StructField, Trait, TypeAlias,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub use hir_def::db::{
|
pub use hir_expand::db::{
|
||||||
AstDatabase, AstDatabaseStorage, AstIdMapQuery, MacroArgQuery, MacroDefQuery, MacroExpandQuery,
|
AstDatabase, AstDatabaseStorage, AstIdMapQuery, MacroArgQuery, MacroDefQuery, MacroExpandQuery,
|
||||||
ParseMacroQuery,
|
ParseMacroQuery,
|
||||||
};
|
};
|
||||||
|
|
|
@ -15,7 +15,7 @@ use crate::{
|
||||||
AstId, FileAstId, Module, Source,
|
AstId, FileAstId, Module, Source,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub use hir_def::expand::{
|
pub use hir_expand::expand::{
|
||||||
HirFileId, MacroCallId, MacroCallLoc, MacroDefId, MacroFile, MacroFileKind,
|
HirFileId, MacroCallId, MacroCallLoc, MacroDefId, MacroFile, MacroFileKind,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
//! FIXME: write short doc here
|
//! FIXME: write short doc here
|
||||||
|
|
||||||
pub use hir_def::{
|
pub use hir_expand::{
|
||||||
ast_id_map::{AstIdMap, ErasedFileAstId, FileAstId},
|
ast_id_map::{AstIdMap, ErasedFileAstId, FileAstId},
|
||||||
expand::AstId,
|
expand::AstId,
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
name = "ra_hir_def"
|
name = "ra_hir_expand"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["rust-analyzer developers"]
|
authors = ["rust-analyzer developers"]
|
||||||
|
|
Loading…
Reference in a new issue