aboutsummaryrefslogtreecommitdiff
path: root/crates/proc_macro_srv
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-08-13 09:08:11 +0100
committerAleksey Kladov <[email protected]>2020-08-13 09:36:04 +0100
commit2f45cfc415626cfae5cba89c88a25fb3225486f7 (patch)
treee04c21d108582a89efd2d3e5a680a0ed35156912 /crates/proc_macro_srv
parentd42ba6397668fe28bd9cd92db829755905469a69 (diff)
Rename ra_mbe -> mbe
Diffstat (limited to 'crates/proc_macro_srv')
-rw-r--r--crates/proc_macro_srv/Cargo.toml2
-rw-r--r--crates/proc_macro_srv/src/rustc_server.rs2
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"
14memmap = "0.7" 14memmap = "0.7"
15 15
16tt = { path = "../tt" } 16tt = { path = "../tt" }
17ra_mbe = { path = "../ra_mbe" } 17mbe = { path = "../mbe" }
18ra_proc_macro = { path = "../ra_proc_macro" } 18ra_proc_macro = { path = "../ra_proc_macro" }
19test_utils = { path = "../test_utils" } 19test_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())