aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/parsing/text_token_source.rs
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-08-11 01:12:09 +0100
committerVeetaha <[email protected]>2020-08-11 01:12:09 +0100
commit4f386afb16297f588484ff24e2b4693218893a94 (patch)
tree53828b0727e1fb77af2b97b9cf5131e390820c29 /crates/ra_syntax/src/parsing/text_token_source.rs
parentb050937c1071e68a4ade69375f1f17b703cafb02 (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_syntax/src/parsing/text_token_source.rs')
0 files changed, 0 insertions, 0 deletions