We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 788b29d commit 8be28a2Copy full SHA for 8be28a2
crates/ra_cargo_watch/src/lib.rs
@@ -318,7 +318,11 @@ pub fn run_cargo(
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:
320
// https://github.com/rust-analyzer/rust-analyzer/pull/3632#discussion_r395605298
321
- format!("the command produced no valid metadata: cargo {}", args.join(" "))
+ format!(
322
+ "the command produced no valid metadata (exit code: {:?}): cargo {}",
323
+ exit_code,
324
+ args.join(" ")
325
+ )
326
}
327
Err(err) => format!("io error: {:?}", err),
328
Ok(_) => return Ok(()),
0 commit comments