diff options
author | Daniel Silverstone <[email protected]> | 2020-12-31 09:03:34 +0000 |
---|---|---|
committer | Daniel Silverstone <[email protected]> | 2020-12-31 10:25:51 +0000 |
commit | 5ce420ac8487d991ead53f51ae2d45ef33d4f94e (patch) | |
tree | 8414439a6141133dd2eb68ffd94f0ede306870f3 /crates/hir_ty/src/traits.rs | |
parent | 558206f70e418730967fd690f5f219993de071bc (diff) |
handle_formatting: Notice if rustfmt is missing and report
In an attempt to fix #6052 and #4249 this attempts to detect
if rustfmt is a rustup proxy which isn't installed, and reports
the error message to the user for them to fix.
In theory this ought to be memoised but for now it'll do as-is.
Future work might be to ask the user if they would like us to
trigger the installation (if possible).
Signed-off-by: Daniel Silverstone <[email protected]>
Diffstat (limited to 'crates/hir_ty/src/traits.rs')
0 files changed, 0 insertions, 0 deletions