mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 01:17:27 +00:00
Don't use the reserved error code
This commit is contained in:
parent
d9456c3989
commit
9fbbb8f609
1 changed files with 1 additions and 1 deletions
|
@ -538,7 +538,7 @@ pub fn handle_formatting(
|
|||
let captured_stdout = String::from_utf8(output.stdout)?;
|
||||
if !output.status.success() {
|
||||
return Err(LspError::new(
|
||||
gen_lsp_server::ErrorCode::ParseError as i32,
|
||||
-32900,
|
||||
format!(
|
||||
r#"rustfmt exited with:
|
||||
Status: {}
|
||||
|
|
Loading…
Reference in a new issue