diff options
author | Edwin Cheng <[email protected]> | 2020-04-01 06:11:26 +0100 |
---|---|---|
committer | Edwin Cheng <[email protected]> | 2020-04-03 12:01:44 +0100 |
commit | 84fb9b44c3b06e1a542608570bb6d7212c8505b7 (patch) | |
tree | e959b5bfef78d08b622e37fabdbe2f630abb7a87 /crates/ra_proc_macro | |
parent | ac91de1525662a602a1057709eb91a9b21ea3ac7 (diff) |
Introduce ra_proc_macro_srv
Diffstat (limited to 'crates/ra_proc_macro')
-rw-r--r-- | crates/ra_proc_macro/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_proc_macro/src/lib.rs b/crates/ra_proc_macro/src/lib.rs index 51fbb046a..63da9f1b4 100644 --- a/crates/ra_proc_macro/src/lib.rs +++ b/crates/ra_proc_macro/src/lib.rs | |||
@@ -11,13 +11,12 @@ pub mod msg; | |||
11 | 11 | ||
12 | use process::{ProcMacroProcessSrv, ProcMacroProcessThread}; | 12 | use process::{ProcMacroProcessSrv, ProcMacroProcessThread}; |
13 | use ra_tt::{SmolStr, Subtree}; | 13 | use ra_tt::{SmolStr, Subtree}; |
14 | use rpc::ProcMacroKind; | ||
15 | use std::{ | 14 | use std::{ |
16 | path::{Path, PathBuf}, | 15 | path::{Path, PathBuf}, |
17 | sync::Arc, | 16 | sync::Arc, |
18 | }; | 17 | }; |
19 | 18 | ||
20 | pub use rpc::{ExpansionResult, ExpansionTask}; | 19 | pub use rpc::{ExpansionResult, ExpansionTask, ListMacrosResult, ListMacrosTask, ProcMacroKind}; |
21 | 20 | ||
22 | #[derive(Debug, Clone)] | 21 | #[derive(Debug, Clone)] |
23 | pub struct ProcMacroProcessExpander { | 22 | pub struct ProcMacroProcessExpander { |