We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 121a12e + 552020d commit 45be9c2Copy full SHA for 45be9c2
src/tools/rust-analyzer/crates/rust-analyzer/src/handlers/request.rs
@@ -2418,7 +2418,11 @@ fn run_rustfmt(
2418
Ok(None)
2419
}
2420
// rustfmt panicked at lexing/parsing the file
2421
- Some(101) if !rustfmt_not_installed && captured_stderr.starts_with("error[") => {
+ Some(101)
2422
+ if !rustfmt_not_installed
2423
+ && (captured_stderr.starts_with("error[")
2424
+ || captured_stderr.starts_with("error:")) =>
2425
+ {
2426
2427
2428
_ => {
0 commit comments