Remove extremely old error conversion

This commit is contained in:
David Tolnay 2017-04-19 15:28:44 -07:00
parent e05a8fa752
commit ceff320ddb
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -383,20 +383,6 @@ impl From<io::Error> for Error {
}
}
impl From<de::value::Error> for Error {
fn from(error: de::value::Error) -> Error {
Error {
err: Box::new(
ErrorImpl {
code: ErrorCode::Message(error.to_string()),
line: 0,
column: 0,
},
),
}
}
}
impl de::Error for Error {
fn custom<T: Display>(msg: T) -> Error {
Error {