aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_proc_macro_srv
diff options
context:
space:
mode:
authorEdwin Cheng <[email protected]>2020-04-04 09:28:32 +0100
committerEdwin Cheng <[email protected]>2020-04-06 16:07:48 +0100
commit4f70162f54ceaa4ff68a5ab74e31b5dda7ac9444 (patch)
tree39262a1e6cb34897723c4c36b7503fc1483c5a9f /crates/ra_proc_macro_srv
parentb2844917ad29e967043bea4e187421a6a3f61682 (diff)
Add bridge::TokenStream to crate scope
Diffstat (limited to 'crates/ra_proc_macro_srv')
-rw-r--r--crates/ra_proc_macro_srv/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_proc_macro_srv/src/lib.rs b/crates/ra_proc_macro_srv/src/lib.rs
index 2c9a6cdf0..80cfa1174 100644
--- a/crates/ra_proc_macro_srv/src/lib.rs
+++ b/crates/ra_proc_macro_srv/src/lib.rs
@@ -14,6 +14,7 @@
14#[doc(hidden)] 14#[doc(hidden)]
15mod proc_macro; 15mod proc_macro;
16 16
17use proc_macro::bridge::client::TokenStream;
17use ra_proc_macro::{ExpansionResult, ExpansionTask, ListMacrosResult, ListMacrosTask}; 18use ra_proc_macro::{ExpansionResult, ExpansionTask, ListMacrosResult, ListMacrosTask};
18 19
19pub fn expand_task(_task: &ExpansionTask) -> Result<ExpansionResult, String> { 20pub fn expand_task(_task: &ExpansionTask) -> Result<ExpansionResult, String> {