diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-03 13:06:04 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-03 13:06:04 +0100 |
commit | 1a8779bce07281f1fbde1166ded75bc5acaa0f27 (patch) | |
tree | 3c69ce23117592f5442bcfdfc165820394b775a3 /crates/ra_proc_macro | |
parent | ac91de1525662a602a1057709eb91a9b21ea3ac7 (diff) | |
parent | 9a2114b0dd6d3292216fa4d05e3c4cd219633f4b (diff) |
Merge #3800
3800: Introduce ra_proc_macro_srv r=matklad a=edwin0cheng
This PR add preliminary for server side of proc macro :
1. Add crate setup
2. IO for server side
Co-authored-by: Edwin Cheng <[email protected]>
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 { |