From da4117a007b123d30651eca918721bd897881b76 Mon Sep 17 00:00:00 2001 From: Andrii Radyk Date: Sat, 4 Jan 2020 00:59:15 +0100 Subject: [PATCH] remove deprecated Error::description --- src/parser.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/parser.rs b/src/parser.rs index e2ea36bfa..1b21ead41 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -62,7 +62,7 @@ macro_rules! simple_enum_error { __FutureProof, } - impl Error for ParseError { + impl ParseError { fn description(&self) -> &str { match *self { $( @@ -74,6 +74,8 @@ macro_rules! simple_enum_error { } } } + + impl Error for ParseError {} } }