Better error messages when the proc-macro-server fails to start

This commit is contained in:
Lukas Wirth 2022-07-23 20:24:01 +02:00
parent aeb07745d5
commit 50b27e57ba
3 changed files with 12 additions and 12 deletions

View file

@ -61,7 +61,7 @@ pub(crate) struct GlobalState {
pub(crate) proc_macro_changed: bool,
pub(crate) last_reported_status: Option<lsp_ext::ServerStatusParams>,
pub(crate) source_root_config: SourceRootConfig,
pub(crate) proc_macro_clients: Vec<Option<ProcMacroServer>>,
pub(crate) proc_macro_clients: Vec<Result<ProcMacroServer, String>>,
pub(crate) flycheck: Vec<FlycheckHandle>,
pub(crate) flycheck_sender: Sender<flycheck::Message>,