rust/crates
bors[bot] a27f5e3e05
Merge #3632
3632: ra_cargo_watch: log errors r=matklad a=Veetaha

Until this moment we totally ignored all the errors from cargo process. Though this is still true, but we
now try to log ones that are critical (i.e. misconfiguration errors and ignore compile errors).

This fixes #3631, and gives us a better error message to more gracefully handle the #3265
![image](https://user-images.githubusercontent.com/36276403/76958683-d7e1f080-6920-11ea-83d8-04561c11ccc4.png)

Though I think that outputting this only to `Output` channel is not enough. We should somehow warn the user that he passed wrong arguments to `cargo-watch.args`. I didn't bother looking for how to do this now, but this PR at least gives us something.

*cc* @kiljacken @matklad 

Co-authored-by: veetaha <veetaha2@gmail.com>
Co-authored-by: Veetaha <veetaha2@gmail.com>
2020-03-23 11:55:26 +00:00
..
ra_arena Simplify Arena to use a generic index 2020-03-19 18:46:30 +01:00
ra_assists disable invert if assist for if-let to fix #3281 2020-03-21 06:40:18 -07:00
ra_cargo_watch Merge #3632 2020-03-23 11:55:26 +00:00
ra_cfg
ra_db Support loading OUT_DIR from cargo check at launch 2020-03-17 14:47:05 +01:00
ra_fmt When joining lines, unwrap trivial diverging blocks 2020-02-24 17:17:05 +01:00
ra_hir ra_hir: migrate some stuff to matches!() 2020-03-22 15:45:32 +02:00
ra_hir_def Merge #3684 2020-03-22 19:59:05 +00:00
ra_hir_expand Fix typo 2020-03-21 23:08:53 +08:00
ra_hir_ty Merge #3679 2020-03-22 14:17:06 +00:00
ra_ide Move test to hir_ty 2020-03-21 23:41:07 +08:00
ra_ide_db Add support for macro in symbo_index 2020-03-22 15:00:44 +08:00
ra_mbe Small fixes 2020-03-16 18:46:08 +01:00
ra_parser Support arbitrary discriminants 2020-03-20 08:50:34 +01:00
ra_prof Allow specifying additional info on call to profile 2020-03-06 17:36:51 +01:00
ra_project_model ra_cargo_watch: return Result<> from run_cargo(), and don't read stderr for now 2020-03-21 23:37:15 +02:00
ra_syntax Add support for macro in symbo_index 2020-03-22 15:00:44 +08:00
ra_text_edit Remove some TextUnit->usize escapees 2020-03-12 22:33:27 -04:00
ra_tt Make MBE expansion more resilient (WIP) 2020-03-16 18:38:19 +01:00
rust-analyzer More direct CargoWorkspace 2020-03-19 17:53:31 +01:00
test_utils Move verbose tests out of line 2020-03-13 12:20:42 +01:00