Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #27 from mathstuf/missing-debug-impl
Browse files Browse the repository at this point in the history
Missing debug impl
  • Loading branch information
leoschwarz authored May 5, 2020
2 parents 173019f + 52bd606 commit 4747dcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/client/stub/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use std::io;
// TODO: impl Error

// TODO: Should be crate or module visible.
#[derive(Debug)]
pub struct FieldError {
/// The name of the missing field.
pub field_name: &'static str,
Expand All @@ -12,6 +13,7 @@ pub struct FieldError {
}

// TODO: Variants should be private.
#[derive(Debug)]
pub enum RegisterStubError {
// "Tried registering stub without `{}` even though `{}` requires its presence."
MissingField(FieldError),
Expand Down

0 comments on commit 4747dcb

Please sign in to comment.