From 0e6b94de78bb5b356d6fd14a6db91ceb8d76856d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 13 Aug 2020 10:04:37 +0200 Subject: Minor --- crates/proc_macro_srv/Cargo.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'crates/proc_macro_srv') diff --git a/crates/proc_macro_srv/Cargo.toml b/crates/proc_macro_srv/Cargo.toml index 775af890e..f7d481cba 100644 --- a/crates/proc_macro_srv/Cargo.toml +++ b/crates/proc_macro_srv/Cargo.toml @@ -9,12 +9,13 @@ edition = "2018" doctest = false [dependencies] -tt = { path = "../tt" } -ra_mbe = { path = "../ra_mbe" } -ra_proc_macro = { path = "../ra_proc_macro" } goblin = "0.2.1" libloading = "0.6.0" memmap = "0.7" + +tt = { path = "../tt" } +ra_mbe = { path = "../ra_mbe" } +ra_proc_macro = { path = "../ra_proc_macro" } test_utils = { path = "../test_utils" } [dev-dependencies] @@ -22,4 +23,5 @@ cargo_metadata = "0.11.1" difference = "2.0.0" # used as proc macro test target serde_derive = "1.0.106" + toolchain = { path = "../toolchain" } -- cgit v1.2.3 From 2f45cfc415626cfae5cba89c88a25fb3225486f7 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 13 Aug 2020 10:08:11 +0200 Subject: Rename ra_mbe -> mbe --- crates/proc_macro_srv/Cargo.toml | 2 +- crates/proc_macro_srv/src/rustc_server.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/proc_macro_srv') 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" memmap = "0.7" tt = { path = "../tt" } -ra_mbe = { path = "../ra_mbe" } +mbe = { path = "../mbe" } ra_proc_macro = { path = "../ra_proc_macro" } test_utils = { path = "../test_utils" } 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 { fn from_str(src: &str) -> Result { let (subtree, _token_map) = - ra_mbe::parse_to_token_tree(src).ok_or("Failed to parse from mbe")?; + mbe::parse_to_token_tree(src).ok_or("Failed to parse from mbe")?; let tt: tt::TokenTree = subtree.into(); Ok(tt.into()) -- cgit v1.2.3