mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-29 06:23:25 +00:00
Better error message hinting about cargo clippy
This commit is contained in:
parent
5a6918f1c4
commit
635270d4ad
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ impl CargoActor {
|
|||
Ok(output) if output.status.success() => Ok(()),
|
||||
Ok(output) => {
|
||||
Err(io::Error::new(io::ErrorKind::Other, format!(
|
||||
"Cargo watcher failed, the command produced no valid metadata (exit code: {:?})",
|
||||
"Cargo watcher failed, the command produced no valid metadata (exit code: {:?})\nMake sure to have `cargo clippy` installed.",
|
||||
output.status
|
||||
)))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue