about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2021-04-26 19:16:07 +0300
committerAleksey Kladov <aleksey.kladov@gmail.com>2021-04-26 19:16:07 +0300
commit363cef5c0ebb064a3802fe326205686e6f0c8186 (patch)
treee34d85b1e2be27c5f832db241a551efeacfa0f5d
parent6cd669e8809d9e19b2169d04b99f33258848b814 (diff)
fix: make error message in the status bar more useful
At the moment,the popup is just a bazillion of Cargo's "Compiling this\nCompiling that",
which is not that useful.

--quiet still displays error, which is what we needc
-rw-r--r--crates/project_model/src/build_data.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/project_model/src/build_data.rs b/crates/project_model/src/build_data.rs
index faca336de03..7b88dca6306 100644
--- a/crates/project_model/src/build_data.rs
+++ b/crates/project_model/src/build_data.rs
@@ -143,7 +143,7 @@ impl WorkspaceBuildData {
             cmd.env("RA_RUSTC_WRAPPER", "1");
         }
 
-        cmd.args(&["check", "--workspace", "--message-format=json", "--manifest-path"])
+        cmd.args(&["check", "--quiet", "--workspace", "--message-format=json", "--manifest-path"])
             .arg(cargo_toml.as_ref());
 
         // --all-targets includes tests, benches and examples in addition to the