diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2021-11-27 18:57:51 +0100 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2021-11-27 18:57:51 +0100 |
| commit | 3fcbcf4a0e94e20c5f4ad884cb7e54b3a5d26a05 (patch) | |
| tree | d34f21971f7b6d6b3e83aa375d5d44e6b4d4a0b8 | |
| parent | 82abe0493135d12090eaebe0892bafbda042c315 (diff) | |
| download | rust-3fcbcf4a0e94e20c5f4ad884cb7e54b3a5d26a05.tar.gz rust-3fcbcf4a0e94e20c5f4ad884cb7e54b3a5d26a05.zip | |
Don't discard flycheck error messages
| -rw-r--r-- | crates/flycheck/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/flycheck/src/lib.rs b/crates/flycheck/src/lib.rs index d34c9e14722..0a4f9d578a5 100644 --- a/crates/flycheck/src/lib.rs +++ b/crates/flycheck/src/lib.rs @@ -333,7 +333,7 @@ impl CargoActor { output.status ))) } - Err(e) => Err(e), + Err(e) => Err(io::Error::new(e.kind(), format!("{:?}: {}", e, error))), } } } |
