diff options
author | Veetaha <[email protected]> | 2020-08-11 01:12:09 +0100 |
---|---|---|
committer | Veetaha <[email protected]> | 2020-08-11 01:12:09 +0100 |
commit | 4f386afb16297f588484ff24e2b4693218893a94 (patch) | |
tree | 53828b0727e1fb77af2b97b9cf5131e390820c29 /crates/ra_hir_def/src/item_tree | |
parent | b050937c1071e68a4ade69375f1f17b703cafb02 (diff) |
Log the command flycheck runs to debug misconfigurations
Without this users have no clue why flycheck fails to run.
This is what is printed to the output channel:
```
[ERROR rust_analyzer::main_loop] cargo check failed: Cargo watcher failed,the command produced no valid metadata (exit code: ExitStatus(ExitStatus(25856)))
```
I stumbled with this figuring out that rust-analyzer adds `--all-features` which is not intended
for some crates in the workspace (e.g. they have mutually-exclusive features.
Having the command rust-analyzer ran should help a lot
Diffstat (limited to 'crates/ra_hir_def/src/item_tree')
0 files changed, 0 insertions, 0 deletions