mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +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)?;
|
let captured_stdout = String::from_utf8(output.stdout)?;
|
||||||
if !output.status.success() {
|
if !output.status.success() {
|
||||||
return Err(LspError::new(
|
return Err(LspError::new(
|
||||||
gen_lsp_server::ErrorCode::ParseError as i32,
|
-32900,
|
||||||
format!(
|
format!(
|
||||||
r#"rustfmt exited with:
|
r#"rustfmt exited with:
|
||||||
Status: {}
|
Status: {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue