mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-12 13:28:13 +00:00
Improve error message when the proc-macro server unexpectedly exits
This commit is contained in:
parent
e6fd485683
commit
c6709ffe05
4 changed files with 81 additions and 39 deletions
|
@ -130,6 +130,10 @@ impl ProcMacroServer {
|
|||
Err(message) => Err(ServerError { message, io: None }),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn exited(&self) -> Option<&ServerError> {
|
||||
self.process.exited()
|
||||
}
|
||||
}
|
||||
|
||||
impl ProcMacro {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue