diff options
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.toml | 2 | ||||
-rw-r--r-- | crates/ra_hir/src/code_model.rs | 2 | ||||
-rw-r--r-- | crates/ra_hir_def/Cargo.toml | 3 | ||||
-rw-r--r-- | crates/ra_hir_ty/Cargo.toml | 2 |
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] |
2 | edition = "2018" | 2 | name = "hir_expand" |
3 | name = "ra_hir_expand" | 3 | version = "0.0.0" |
4 | version = "0.1.0" | ||
5 | authors = ["rust-analyzer developers"] | ||
6 | license = "MIT OR Apache-2.0" | 4 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | ||
6 | edition = "2018" | ||
7 | 7 | ||
8 | [lib] | 8 | [lib] |
9 | doctest = false | 9 | doctest = 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" } | |||
20 | syntax = { path = "../syntax" } | 20 | syntax = { path = "../syntax" } |
21 | base_db = { path = "../base_db" } | 21 | base_db = { path = "../base_db" } |
22 | profile = { path = "../profile" } | 22 | profile = { path = "../profile" } |
23 | hir_expand = { path = "../ra_hir_expand", package = "ra_hir_expand" } | 23 | hir_expand = { path = "../hir_expand" } |
24 | hir_def = { path = "../ra_hir_def", package = "ra_hir_def" } | 24 | hir_def = { path = "../ra_hir_def", package = "ra_hir_def" } |
25 | hir_ty = { path = "../ra_hir_ty", package = "ra_hir_ty" } | 25 | hir_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 { | |||
815 | impl MacroDef { | 815 | impl 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" | |||
21 | smallvec = "1.4.0" | 21 | smallvec = "1.4.0" |
22 | 22 | ||
23 | stdx = { path = "../stdx" } | 23 | stdx = { path = "../stdx" } |
24 | |||
25 | arena = { path = "../arena" } | 24 | arena = { path = "../arena" } |
26 | base_db = { path = "../base_db" } | 25 | base_db = { path = "../base_db" } |
27 | syntax = { path = "../syntax" } | 26 | syntax = { path = "../syntax" } |
28 | profile = { path = "../profile" } | 27 | profile = { path = "../profile" } |
29 | hir_expand = { path = "../ra_hir_expand", package = "ra_hir_expand" } | 28 | hir_expand = { path = "../hir_expand" } |
30 | test_utils = { path = "../test_utils" } | 29 | test_utils = { path = "../test_utils" } |
31 | mbe = { path = "../mbe" } | 30 | mbe = { path = "../mbe" } |
32 | cfg = { path = "../cfg" } | 31 | cfg = { 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" | |||
19 | stdx = { path = "../stdx" } | 19 | stdx = { path = "../stdx" } |
20 | 20 | ||
21 | hir_def = { path = "../ra_hir_def", package = "ra_hir_def" } | 21 | hir_def = { path = "../ra_hir_def", package = "ra_hir_def" } |
22 | hir_expand = { path = "../ra_hir_expand", package = "ra_hir_expand" } | 22 | hir_expand = { path = "../hir_expand" } |
23 | arena = { path = "../arena" } | 23 | arena = { path = "../arena" } |
24 | base_db = { path = "../base_db" } | 24 | base_db = { path = "../base_db" } |
25 | profile = { path = "../profile" } | 25 | profile = { path = "../profile" } |