From 363cef5c0ebb064a3802fe326205686e6f0c8186 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 26 Apr 2021 19:16:07 +0300 Subject: 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 --- crates/project_model/src/build_data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/project_model') diff --git a/crates/project_model/src/build_data.rs b/crates/project_model/src/build_data.rs index faca336de..7b88dca63 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 -- cgit v1.2.3