Introduce ra_proc_macro_srv

This commit is contained in:
Edwin Cheng 2020-04-01 13:11:26 +08:00
parent ac91de1525
commit 84fb9b44c3
5 changed files with 162 additions and 2 deletions

View file

@ -11,13 +11,12 @@ pub mod msg;
use process::{ProcMacroProcessSrv, ProcMacroProcessThread};
use ra_tt::{SmolStr, Subtree};
use rpc::ProcMacroKind;
use std::{
path::{Path, PathBuf},
sync::Arc,
};
pub use rpc::{ExpansionResult, ExpansionTask};
pub use rpc::{ExpansionResult, ExpansionTask, ListMacrosResult, ListMacrosTask, ProcMacroKind};
#[derive(Debug, Clone)]
pub struct ProcMacroProcessExpander {