]> git.lizzy.rs Git - rust.git/commitdiff
fix: make error message in the status bar more useful
authorAleksey Kladov <aleksey.kladov@gmail.com>
Mon, 26 Apr 2021 16:16:07 +0000 (19:16 +0300)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Mon, 26 Apr 2021 16:16:07 +0000 (19:16 +0300)
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

index faca336de03a203fe17a933784c5937211e9a0a5..7b88dca6306ac8fef882c970ea586f4c44687047 100644 (file)
@@ -143,7 +143,7 @@ fn collect(
             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