]> git.lizzy.rs Git - rust.git/blobdiff - crates/flycheck/src/lib.rs
internal: Show more project building errors to the user
[rust.git] / crates / flycheck / src / lib.rs
index 4c84c62016d4c90718361e7f41c4b7cb308cd7d8..2cd19952678dc59bfe148d7dc34ed5fdb0e0b342 100644 (file)
@@ -329,7 +329,7 @@ fn run(self, command: Command) -> io::Result<()> {
             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: {:?})\nCargo's stderr output:\n{}",
+                    "Cargo watcher failed, the command produced no valid metadata (exit code: {:?}):\n{}",
                     output.status, error
                 )))
             }