From ceff320ddba89331aba34ed2054ff7054c4a1b86 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 19 Apr 2017 15:28:44 -0700 Subject: [PATCH] Remove extremely old error conversion --- src/error.rs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/error.rs b/src/error.rs index 6fbd79e..0486d5d 100644 --- a/src/error.rs +++ b/src/error.rs @@ -383,20 +383,6 @@ impl From for Error { } } -impl From 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(msg: T) -> Error { Error {