Better error message hinting about cargo clippy
This commit is contained in:
parent
5a6918f1c4
commit
635270d4ad
@ -329,7 +329,7 @@ impl CargoActor {
|
|||||||
Ok(output) if output.status.success() => Ok(()),
|
Ok(output) if output.status.success() => Ok(()),
|
||||||
Ok(output) => {
|
Ok(output) => {
|
||||||
Err(io::Error::new(io::ErrorKind::Other, format!(
|
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
|
output.status
|
||||||
)))
|
)))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user