aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_proc_macro
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-04-03 13:06:04 +0100
committerGitHub <[email protected]>2020-04-03 13:06:04 +0100
commit1a8779bce07281f1fbde1166ded75bc5acaa0f27 (patch)
tree3c69ce23117592f5442bcfdfc165820394b775a3 /crates/ra_proc_macro
parentac91de1525662a602a1057709eb91a9b21ea3ac7 (diff)
parent9a2114b0dd6d3292216fa4d05e3c4cd219633f4b (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.rs3
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
12use process::{ProcMacroProcessSrv, ProcMacroProcessThread}; 12use process::{ProcMacroProcessSrv, ProcMacroProcessThread};
13use ra_tt::{SmolStr, Subtree}; 13use ra_tt::{SmolStr, Subtree};
14use rpc::ProcMacroKind;
15use std::{ 14use std::{
16 path::{Path, PathBuf}, 15 path::{Path, PathBuf},
17 sync::Arc, 16 sync::Arc,
18}; 17};
19 18
20pub use rpc::{ExpansionResult, ExpansionTask}; 19pub use rpc::{ExpansionResult, ExpansionTask, ListMacrosResult, ListMacrosTask, ProcMacroKind};
21 20
22#[derive(Debug, Clone)] 21#[derive(Debug, Clone)]
23pub struct ProcMacroProcessExpander { 22pub struct ProcMacroProcessExpander {