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 {} } }