diff options
author | Aleksey Kladov <[email protected]> | 2020-08-13 09:08:11 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-08-13 09:36:04 +0100 |
commit | 2f45cfc415626cfae5cba89c88a25fb3225486f7 (patch) | |
tree | e04c21d108582a89efd2d3e5a680a0ed35156912 /crates/proc_macro_srv | |
parent | d42ba6397668fe28bd9cd92db829755905469a69 (diff) |
Rename ra_mbe -> mbe
Diffstat (limited to 'crates/proc_macro_srv')
-rw-r--r-- | crates/proc_macro_srv/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/proc_macro_srv/src/rustc_server.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/proc_macro_srv/Cargo.toml b/crates/proc_macro_srv/Cargo.toml index f7d481cba..0954ffb66 100644 --- a/crates/proc_macro_srv/Cargo.toml +++ b/crates/proc_macro_srv/Cargo.toml | |||
@@ -14,7 +14,7 @@ libloading = "0.6.0" | |||
14 | memmap = "0.7" | 14 | memmap = "0.7" |
15 | 15 | ||
16 | tt = { path = "../tt" } | 16 | tt = { path = "../tt" } |
17 | ra_mbe = { path = "../ra_mbe" } | 17 | mbe = { path = "../mbe" } |
18 | ra_proc_macro = { path = "../ra_proc_macro" } | 18 | ra_proc_macro = { path = "../ra_proc_macro" } |
19 | test_utils = { path = "../test_utils" } | 19 | test_utils = { path = "../test_utils" } |
20 | 20 | ||
diff --git a/crates/proc_macro_srv/src/rustc_server.rs b/crates/proc_macro_srv/src/rustc_server.rs index d534d1337..7d1695c86 100644 --- a/crates/proc_macro_srv/src/rustc_server.rs +++ b/crates/proc_macro_srv/src/rustc_server.rs | |||
@@ -182,7 +182,7 @@ pub mod token_stream { | |||
182 | 182 | ||
183 | fn from_str(src: &str) -> Result<TokenStream, LexError> { | 183 | fn from_str(src: &str) -> Result<TokenStream, LexError> { |
184 | let (subtree, _token_map) = | 184 | let (subtree, _token_map) = |
185 | ra_mbe::parse_to_token_tree(src).ok_or("Failed to parse from mbe")?; | 185 | mbe::parse_to_token_tree(src).ok_or("Failed to parse from mbe")?; |
186 | 186 | ||
187 | let tt: tt::TokenTree = subtree.into(); | 187 | let tt: tt::TokenTree = subtree.into(); |
188 | Ok(tt.into()) | 188 | Ok(tt.into()) |