Add config for proc_macro

This commit is contained in:
Edwin Cheng
2020-04-13 00:05:33 +08:00
parent 22e33f308a
commit a4b0ce07f8
5 changed files with 22 additions and 1 deletions

View File

@@ -64,6 +64,7 @@ pub struct WorldState {
pub latest_requests: Arc<RwLock<LatestRequests>>,
pub flycheck: Option<Flycheck>,
pub diagnostics: DiagnosticCollection,
pub proc_macro_client: ProcMacroClient,
}
/// An immutable snapshot of the world's state at a point in time.
@@ -192,6 +193,7 @@ impl WorldState {
latest_requests: Default::default(),
flycheck,
diagnostics: Default::default(),
proc_macro_client,
}
}