aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_cargo_watch/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_cargo_watch/src/lib.rs')
-rw-r--r--crates/ra_cargo_watch/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_cargo_watch/src/lib.rs b/crates/ra_cargo_watch/src/lib.rs
index eb8ba4da8..362d32010 100644
--- a/crates/ra_cargo_watch/src/lib.rs
+++ b/crates/ra_cargo_watch/src/lib.rs
@@ -318,7 +318,7 @@ pub fn run_cargo(
318 Ok(exit_code) if !exit_code.success() && !read_at_least_one_message => { 318 Ok(exit_code) if !exit_code.success() && !read_at_least_one_message => {
319 // FIXME: Read the stderr to display the reason, see `read2()` reference in PR comment: 319 // FIXME: Read the stderr to display the reason, see `read2()` reference in PR comment:
320 // https://github.com/rust-analyzer/rust-analyzer/pull/3632#discussion_r395605298 320 // https://github.com/rust-analyzer/rust-analyzer/pull/3632#discussion_r395605298
321 format!("the command produced no valid metadata:\n cargo {}", args.join(" ")) 321 format!("the command produced no valid metadata: cargo {}", args.join(" "))
322 } 322 }
323 Err(err) => format!("io error: {:?}", err), 323 Err(err) => format!("io error: {:?}", err),
324 Ok(_) => return Ok(()), 324 Ok(_) => return Ok(()),