mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Get rid of failure: ra_lsp_server & ra_project_model
This commit is contained in:
parent
a931fb1ef6
commit
9709bd39ca
10 changed files with 32 additions and 36 deletions
|
@ -25,7 +25,7 @@ fn main() -> Result<()> {
|
|||
}
|
||||
Err(_) => {
|
||||
log::error!("server panicked");
|
||||
failure::bail!("server panicked")
|
||||
Err("server panicked")?
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue