4101: Panic proc macro srv if read request failed r=matklad a=edwin0cheng

This PR fixed a bug when the rust-analyzer is killed suddenly, the `rust-analyzer proc-macro` will become stale.

Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
This commit is contained in:
bors[bot]
2020-04-24 01:28:53 +00:00
committed by GitHub
2 changed files with 5 additions and 12 deletions

View File

@@ -66,7 +66,7 @@ fn setup_logging() -> Result<()> {
}
fn run_proc_macro_srv() -> Result<()> {
ra_proc_macro_srv::cli::run();
ra_proc_macro_srv::cli::run()?;
Ok(())
}