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
This commit is contained in:
Aleksey Kladov 2021-04-26 19:16:07 +03:00
parent 6cd669e880
commit 363cef5c0e

View File

@ -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