Update peach-probe to use refactored PeachError type #41

Open
opened 2021-12-07 12:19:40 +00:00 by glyph · 0 comments
Owner

Following the refactor of the PeachError type in peach-lib, we now have errors in peach-probe. For example:

error[E0769]: tuple variant `PeachError::JsonRpcHttp` written as struct variant
   --> peach-probe/src/probe.rs:186:21
    |
186 |                     PeachError::JsonRpcHttp { source } => {
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
help: use the tuple variant pattern syntax instead
    |
186 |                     PeachError::JsonRpcHttp(source) => {
Following the refactor of the `PeachError` type in peach-lib, we now have errors in peach-probe. For example: ```bash error[E0769]: tuple variant `PeachError::JsonRpcHttp` written as struct variant --> peach-probe/src/probe.rs:186:21 | 186 | PeachError::JsonRpcHttp { source } => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: use the tuple variant pattern syntax instead | 186 | PeachError::JsonRpcHttp(source) => { ```
glyph added the
bug
label 2021-12-07 12:19:40 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: PeachCloud/peach-workspace#41
No description provided.