diff options
author | Edwin Cheng <[email protected]> | 2020-04-04 09:28:32 +0100 |
---|---|---|
committer | Edwin Cheng <[email protected]> | 2020-04-06 16:07:48 +0100 |
commit | 4f70162f54ceaa4ff68a5ab74e31b5dda7ac9444 (patch) | |
tree | 39262a1e6cb34897723c4c36b7503fc1483c5a9f /crates/ra_proc_macro_srv | |
parent | b2844917ad29e967043bea4e187421a6a3f61682 (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.rs | 1 |
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)] |
15 | mod proc_macro; | 15 | mod proc_macro; |
16 | 16 | ||
17 | use proc_macro::bridge::client::TokenStream; | ||
17 | use ra_proc_macro::{ExpansionResult, ExpansionTask, ListMacrosResult, ListMacrosTask}; | 18 | use ra_proc_macro::{ExpansionResult, ExpansionTask, ListMacrosResult, ListMacrosTask}; |
18 | 19 | ||
19 | pub fn expand_task(_task: &ExpansionTask) -> Result<ExpansionResult, String> { | 20 | pub fn expand_task(_task: &ExpansionTask) -> Result<ExpansionResult, String> { |