diff options
-rw-r--r-- | crates/ra_lsp_server/src/main_loop/handlers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index 4fc15c796..ace3da020 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs | |||
@@ -538,7 +538,7 @@ pub fn handle_formatting( | |||
538 | let captured_stdout = String::from_utf8(output.stdout)?; | 538 | let captured_stdout = String::from_utf8(output.stdout)?; |
539 | if !output.status.success() { | 539 | if !output.status.success() { |
540 | return Err(LspError::new( | 540 | return Err(LspError::new( |
541 | gen_lsp_server::ErrorCode::ParseError as i32, | 541 | -32900, |
542 | format!( | 542 | format!( |
543 | r#"rustfmt exited with: | 543 | r#"rustfmt exited with: |
544 | Status: {} | 544 | Status: {} |