GuestError::InDataField never constructed, so delete it

This commit is contained in:
Pat Hickey
2021-03-23 22:04:34 -07:00
parent 1151f630b8
commit 4a9ce90d34

View File

@@ -27,13 +27,6 @@ pub enum GuestError {
#[source] #[source]
err: Box<GuestError>, err: Box<GuestError>,
}, },
#[error("In data {typename}.{field}: {err}")]
InDataField {
typename: String,
field: String,
#[source]
err: Box<GuestError>,
},
#[error("Invalid UTF-8 encountered: {0:?}")] #[error("Invalid UTF-8 encountered: {0:?}")]
InvalidUtf8(#[from] ::std::str::Utf8Error), InvalidUtf8(#[from] ::std::str::Utf8Error),
#[error("Int conversion error: {0:?}")] #[error("Int conversion error: {0:?}")]