aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/visibility.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-04-04 23:35:13 +0100
committerGitHub <[email protected]>2021-04-04 23:35:13 +0100
commit4be4d29853633a0e51b9707edc58c556a99a7249 (patch)
treeafb5fd141bf9525f029cacb99a9fbb7225921daf /crates/hir_def/src/visibility.rs
parentd3dfa18071cdccd2757db7eeff2ffec21b25ffd4 (diff)
parentd3b804d11d554e6d4e4ccbad92add86e093b4bdb (diff)
Merge #8332
8332: Error when `rustfmt` component is unavailable r=jonas-schievink a=jonas-schievink Fixes https://github.com/rust-analyzer/rust-analyzer/issues/8331 When the toolchain has no installable rustfmt component, running `rustfmt` complains with ``` error: the 'rustfmt' component which provides the command 'rustfmt' is not available for the 'nightly-2021-04-04-x86_64-unknown-linux-gnu' toolchain ``` Check for occurrence of "not available" in addition to the existing "not installed" to detect this case and report a user-visible error. rustfmt and/or rustup should *really* be changed to not use the same exit status here bors r+ Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/hir_def/src/visibility.rs')
0 files changed, 0 insertions, 0 deletions