diff options
| author | Cadu <cadu.coelho@gmail.com> | 2022-04-03 13:48:10 -0300 |
|---|---|---|
| committer | Cadu <cadu.coelho@gmail.com> | 2022-04-04 19:15:20 -0300 |
| commit | 635270d4ad0e8c1b99784d8d46199fe0d2e8f956 (patch) | |
| tree | 16251b1b3817d4e9a11b2c448da28c21347a51e5 | |
| parent | 5a6918f1c4e9d4f0c6a655e6283470f64edd64cf (diff) | |
| download | rust-635270d4ad0e8c1b99784d8d46199fe0d2e8f956.tar.gz rust-635270d4ad0e8c1b99784d8d46199fe0d2e8f956.zip | |
Better error message hinting about `cargo clippy`
| -rw-r--r-- | crates/flycheck/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/flycheck/src/lib.rs b/crates/flycheck/src/lib.rs index 0a4f9d578a5..7b643b992c3 100644 --- a/crates/flycheck/src/lib.rs +++ b/crates/flycheck/src/lib.rs @@ -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 ))) } |
