aboutsummaryrefslogtreecommitdiff
path: root/crates/proc_macro_srv/src/lib.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-08-13 11:39:57 +0100
committerGitHub <[email protected]>2020-08-13 11:39:57 +0100
commitc2b1503fe41e6912b45d9ccf15e3c5ae6aad9439 (patch)
tree977254cd7b4fa53da65836cd0f119ef404e7dd62 /crates/proc_macro_srv/src/lib.rs
parent4abdf323af5bc693f8b9ff3455e19ee1dff572a8 (diff)
parent2119dc23e80d77f1abc789e3d99c34d429e17905 (diff)
Merge #5745
5745: Rename ra_proc_macro -> proc_macro_api r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/proc_macro_srv/src/lib.rs')
-rw-r--r--crates/proc_macro_srv/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/proc_macro_srv/src/lib.rs b/crates/proc_macro_srv/src/lib.rs
index 1fc2eef82..7e4e4ad50 100644
--- a/crates/proc_macro_srv/src/lib.rs
+++ b/crates/proc_macro_srv/src/lib.rs
@@ -8,7 +8,7 @@
8//! * We use `tt` for proc-macro `TokenStream` server, it is easier to manipulate and interact with 8//! * We use `tt` for proc-macro `TokenStream` server, it is easier to manipulate and interact with
9//! RA than `proc-macro2` token stream. 9//! RA than `proc-macro2` token stream.
10//! * By **copying** the whole rustc `lib_proc_macro` code, we are able to build this with `stable` 10//! * By **copying** the whole rustc `lib_proc_macro` code, we are able to build this with `stable`
11//! rustc rather than `unstable`. (Although in gerenal ABI compatibility is still an issue) 11//! rustc rather than `unstable`. (Although in general ABI compatibility is still an issue)…
12 12
13#[allow(dead_code)] 13#[allow(dead_code)]
14#[doc(hidden)] 14#[doc(hidden)]
@@ -20,7 +20,7 @@ mod rustc_server;
20mod dylib; 20mod dylib;
21 21
22use proc_macro::bridge::client::TokenStream; 22use proc_macro::bridge::client::TokenStream;
23use ra_proc_macro::{ExpansionResult, ExpansionTask, ListMacrosResult, ListMacrosTask}; 23use proc_macro_api::{ExpansionResult, ExpansionTask, ListMacrosResult, ListMacrosTask};
24use std::{ 24use std::{
25 collections::{hash_map::Entry, HashMap}, 25 collections::{hash_map::Entry, HashMap},
26 fs, 26 fs,