Skip to content

Commit 635270d

Browse files
committed
Better error message hinting about cargo clippy
1 parent 5a6918f commit 635270d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/flycheck/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ impl CargoActor {
329329
Ok(output) if output.status.success() => Ok(()),
330330
Ok(output) => {
331331
Err(io::Error::new(io::ErrorKind::Other, format!(
332-
"Cargo watcher failed, the command produced no valid metadata (exit code: {:?})",
332+
"Cargo watcher failed, the command produced no valid metadata (exit code: {:?})\nMake sure to have `cargo clippy` installed.",
333333
output.status
334334
)))
335335
}

0 commit comments

Comments
 (0)