diff options
author | Aleksey Kladov <[email protected]> | 2019-06-15 14:29:23 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-06-15 14:29:23 +0100 |
commit | b0be4207d04b65580e7af10cb256ddd5d9ca006d (patch) | |
tree | bf978df2c89b036a71157e8946d13e0b014474f9 /crates/ra_lsp_server/src | |
parent | 41c56c8a0d01d395e49cd199e6050b02a91cff1d (diff) |
reuse AnalysisHost in batch analysis
Diffstat (limited to 'crates/ra_lsp_server/src')
-rw-r--r-- | crates/ra_lsp_server/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/main.rs b/crates/ra_lsp_server/src/main.rs index 7ed35c24a..4aadb5ea8 100644 --- a/crates/ra_lsp_server/src/main.rs +++ b/crates/ra_lsp_server/src/main.rs | |||
@@ -17,7 +17,7 @@ fn main() -> Result<()> { | |||
17 | Err(_) => ra_prof::Filter::disabled(), | 17 | Err(_) => ra_prof::Filter::disabled(), |
18 | }); | 18 | }); |
19 | log::info!("lifecycle: server started"); | 19 | log::info!("lifecycle: server started"); |
20 | match ::std::panic::catch_unwind(main_inner) { | 20 | match std::panic::catch_unwind(main_inner) { |
21 | Ok(res) => { | 21 | Ok(res) => { |
22 | log::info!("lifecycle: terminating process with {:?}", res); | 22 | log::info!("lifecycle: terminating process with {:?}", res); |
23 | res | 23 | res |