Add Error::unknown_field_error

This commit is contained in:
Erick Tryzelaar
2015-04-12 00:30:20 -07:00
parent 1da47c0870
commit e0eff942b1
11 changed files with 33 additions and 5 deletions
+3 -1
View File
@@ -12,7 +12,9 @@ pub trait Error {
fn end_of_stream_error() -> Self;
fn missing_field_error(&'static str) -> Self;
fn unknown_field_error(field: &str) -> Self;
fn missing_field_error(field: &'static str) -> Self;
}
///////////////////////////////////////////////////////////////////////////////