aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-08-13 15:26:29 +0100
committerAleksey Kladov <[email protected]>2020-08-13 15:29:33 +0100
commitb7aa4898e0841ab8199643f89a0caa967b698ca8 (patch)
treeafb23bbff9fa1b39afc51f58b0e0175d55e3596c /crates
parented20a857f485a471369cd99b843af19a4d875ad0 (diff)
Rename ra_hir_expand -> hir_expand
Diffstat (limited to 'crates')
-rw-r--r--crates/hir_expand/Cargo.toml (renamed from crates/ra_hir_expand/Cargo.toml)8
-rw-r--r--crates/hir_expand/src/ast_id_map.rs (renamed from crates/ra_hir_expand/src/ast_id_map.rs)0
-rw-r--r--crates/hir_expand/src/builtin_derive.rs (renamed from crates/ra_hir_expand/src/builtin_derive.rs)0
-rw-r--r--crates/hir_expand/src/builtin_macro.rs (renamed from crates/ra_hir_expand/src/builtin_macro.rs)0
-rw-r--r--crates/hir_expand/src/db.rs (renamed from crates/ra_hir_expand/src/db.rs)0
-rw-r--r--crates/hir_expand/src/diagnostics.rs (renamed from crates/ra_hir_expand/src/diagnostics.rs)0
-rw-r--r--crates/hir_expand/src/eager.rs (renamed from crates/ra_hir_expand/src/eager.rs)0
-rw-r--r--crates/hir_expand/src/hygiene.rs (renamed from crates/ra_hir_expand/src/hygiene.rs)0
-rw-r--r--crates/hir_expand/src/lib.rs (renamed from crates/ra_hir_expand/src/lib.rs)2
-rw-r--r--crates/hir_expand/src/name.rs (renamed from crates/ra_hir_expand/src/name.rs)0
-rw-r--r--crates/hir_expand/src/proc_macro.rs (renamed from crates/ra_hir_expand/src/proc_macro.rs)0
-rw-r--r--crates/hir_expand/src/quote.rs (renamed from crates/ra_hir_expand/src/quote.rs)0
-rw-r--r--crates/hir_expand/src/test_db.rs (renamed from crates/ra_hir_expand/src/test_db.rs)0
-rw-r--r--crates/ra_hir/Cargo.toml2
-rw-r--r--crates/ra_hir/src/code_model.rs2
-rw-r--r--crates/ra_hir_def/Cargo.toml3
-rw-r--r--crates/ra_hir_ty/Cargo.toml2
17 files changed, 9 insertions, 10 deletions
diff --git a/crates/ra_hir_expand/Cargo.toml b/crates/hir_expand/Cargo.toml
index 41acf3712..1c4699291 100644
--- a/crates/ra_hir_expand/Cargo.toml
+++ b/crates/hir_expand/Cargo.toml
@@ -1,9 +1,9 @@
1[package] 1[package]
2edition = "2018" 2name = "hir_expand"
3name = "ra_hir_expand" 3version = "0.0.0"
4version = "0.1.0"
5authors = ["rust-analyzer developers"]
6license = "MIT OR Apache-2.0" 4license = "MIT OR Apache-2.0"
5authors = ["rust-analyzer developers"]
6edition = "2018"
7 7
8[lib] 8[lib]
9doctest = false 9doctest = false
diff --git a/crates/ra_hir_expand/src/ast_id_map.rs b/crates/hir_expand/src/ast_id_map.rs
index f63629b30..f63629b30 100644
--- a/crates/ra_hir_expand/src/ast_id_map.rs
+++ b/crates/hir_expand/src/ast_id_map.rs
diff --git a/crates/ra_hir_expand/src/builtin_derive.rs b/crates/hir_expand/src/builtin_derive.rs
index 988a60d56..988a60d56 100644
--- a/crates/ra_hir_expand/src/builtin_derive.rs
+++ b/crates/hir_expand/src/builtin_derive.rs
diff --git a/crates/ra_hir_expand/src/builtin_macro.rs b/crates/hir_expand/src/builtin_macro.rs
index 86918b626..86918b626 100644
--- a/crates/ra_hir_expand/src/builtin_macro.rs
+++ b/crates/hir_expand/src/builtin_macro.rs
diff --git a/crates/ra_hir_expand/src/db.rs b/crates/hir_expand/src/db.rs
index dcc038bcd..dcc038bcd 100644
--- a/crates/ra_hir_expand/src/db.rs
+++ b/crates/hir_expand/src/db.rs
diff --git a/crates/ra_hir_expand/src/diagnostics.rs b/crates/hir_expand/src/diagnostics.rs
index 59d35debe..59d35debe 100644
--- a/crates/ra_hir_expand/src/diagnostics.rs
+++ b/crates/hir_expand/src/diagnostics.rs
diff --git a/crates/ra_hir_expand/src/eager.rs b/crates/hir_expand/src/eager.rs
index 10c45646f..10c45646f 100644
--- a/crates/ra_hir_expand/src/eager.rs
+++ b/crates/hir_expand/src/eager.rs
diff --git a/crates/ra_hir_expand/src/hygiene.rs b/crates/hir_expand/src/hygiene.rs
index 845e9cbc1..845e9cbc1 100644
--- a/crates/ra_hir_expand/src/hygiene.rs
+++ b/crates/hir_expand/src/hygiene.rs
diff --git a/crates/ra_hir_expand/src/lib.rs b/crates/hir_expand/src/lib.rs
index 7425b561a..2be15e841 100644
--- a/crates/ra_hir_expand/src/lib.rs
+++ b/crates/hir_expand/src/lib.rs
@@ -1,4 +1,4 @@
1//! `ra_hir_expand` deals with macro expansion. 1//! `hir_expand` deals with macro expansion.
2//! 2//!
3//! Specifically, it implements a concept of `MacroFile` -- a file whose syntax 3//! Specifically, it implements a concept of `MacroFile` -- a file whose syntax
4//! tree originates not from the text of some `FileId`, but from some macro 4//! tree originates not from the text of some `FileId`, but from some macro
diff --git a/crates/ra_hir_expand/src/name.rs b/crates/hir_expand/src/name.rs
index 49841c7a1..49841c7a1 100644
--- a/crates/ra_hir_expand/src/name.rs
+++ b/crates/hir_expand/src/name.rs
diff --git a/crates/ra_hir_expand/src/proc_macro.rs b/crates/hir_expand/src/proc_macro.rs
index 80255ea32..80255ea32 100644
--- a/crates/ra_hir_expand/src/proc_macro.rs
+++ b/crates/hir_expand/src/proc_macro.rs
diff --git a/crates/ra_hir_expand/src/quote.rs b/crates/hir_expand/src/quote.rs
index 219bc2097..219bc2097 100644
--- a/crates/ra_hir_expand/src/quote.rs
+++ b/crates/hir_expand/src/quote.rs
diff --git a/crates/ra_hir_expand/src/test_db.rs b/crates/hir_expand/src/test_db.rs
index 86a5d867e..86a5d867e 100644
--- a/crates/ra_hir_expand/src/test_db.rs
+++ b/crates/hir_expand/src/test_db.rs
diff --git a/crates/ra_hir/Cargo.toml b/crates/ra_hir/Cargo.toml
index 5ccdb74fd..0ec1589c1 100644
--- a/crates/ra_hir/Cargo.toml
+++ b/crates/ra_hir/Cargo.toml
@@ -20,6 +20,6 @@ stdx = { path = "../stdx" }
20syntax = { path = "../syntax" } 20syntax = { path = "../syntax" }
21base_db = { path = "../base_db" } 21base_db = { path = "../base_db" }
22profile = { path = "../profile" } 22profile = { path = "../profile" }
23hir_expand = { path = "../ra_hir_expand", package = "ra_hir_expand" } 23hir_expand = { path = "../hir_expand" }
24hir_def = { path = "../ra_hir_def", package = "ra_hir_def" } 24hir_def = { path = "../ra_hir_def", package = "ra_hir_def" }
25hir_ty = { path = "../ra_hir_ty", package = "ra_hir_ty" } 25hir_ty = { path = "../ra_hir_ty", package = "ra_hir_ty" }
diff --git a/crates/ra_hir/src/code_model.rs b/crates/ra_hir/src/code_model.rs
index d4d6b1759..8ffb9e99b 100644
--- a/crates/ra_hir/src/code_model.rs
+++ b/crates/ra_hir/src/code_model.rs
@@ -815,7 +815,7 @@ pub struct MacroDef {
815impl MacroDef { 815impl MacroDef {
816 /// FIXME: right now, this just returns the root module of the crate that 816 /// FIXME: right now, this just returns the root module of the crate that
817 /// defines this macro. The reasons for this is that macros are expanded 817 /// defines this macro. The reasons for this is that macros are expanded
818 /// early, in `ra_hir_expand`, where modules simply do not exist yet. 818 /// early, in `hir_expand`, where modules simply do not exist yet.
819 pub fn module(self, db: &dyn HirDatabase) -> Option<Module> { 819 pub fn module(self, db: &dyn HirDatabase) -> Option<Module> {
820 let krate = self.id.krate?; 820 let krate = self.id.krate?;
821 let module_id = db.crate_def_map(krate).root; 821 let module_id = db.crate_def_map(krate).root;
diff --git a/crates/ra_hir_def/Cargo.toml b/crates/ra_hir_def/Cargo.toml
index 2b187bc4a..f93a213df 100644
--- a/crates/ra_hir_def/Cargo.toml
+++ b/crates/ra_hir_def/Cargo.toml
@@ -21,12 +21,11 @@ indexmap = "1.4.0"
21smallvec = "1.4.0" 21smallvec = "1.4.0"
22 22
23stdx = { path = "../stdx" } 23stdx = { path = "../stdx" }
24
25arena = { path = "../arena" } 24arena = { path = "../arena" }
26base_db = { path = "../base_db" } 25base_db = { path = "../base_db" }
27syntax = { path = "../syntax" } 26syntax = { path = "../syntax" }
28profile = { path = "../profile" } 27profile = { path = "../profile" }
29hir_expand = { path = "../ra_hir_expand", package = "ra_hir_expand" } 28hir_expand = { path = "../hir_expand" }
30test_utils = { path = "../test_utils" } 29test_utils = { path = "../test_utils" }
31mbe = { path = "../mbe" } 30mbe = { path = "../mbe" }
32cfg = { path = "../cfg" } 31cfg = { path = "../cfg" }
diff --git a/crates/ra_hir_ty/Cargo.toml b/crates/ra_hir_ty/Cargo.toml
index 720d171ac..75f04f9dd 100644
--- a/crates/ra_hir_ty/Cargo.toml
+++ b/crates/ra_hir_ty/Cargo.toml
@@ -19,7 +19,7 @@ rustc-hash = "1.1.0"
19stdx = { path = "../stdx" } 19stdx = { path = "../stdx" }
20 20
21hir_def = { path = "../ra_hir_def", package = "ra_hir_def" } 21hir_def = { path = "../ra_hir_def", package = "ra_hir_def" }
22hir_expand = { path = "../ra_hir_expand", package = "ra_hir_expand" } 22hir_expand = { path = "../hir_expand" }
23arena = { path = "../arena" } 23arena = { path = "../arena" }
24base_db = { path = "../base_db" } 24base_db = { path = "../base_db" }
25profile = { path = "../profile" } 25profile = { path = "../profile" }