diff --git a/src/error.rs b/src/error.rs index d2956126..0e4bf66a 100644 --- a/src/error.rs +++ b/src/error.rs @@ -711,6 +711,13 @@ impl crate::lib::std::fmt::Display for ContextError { } } +impl ErrorConvert> for ContextError { + #[inline] + fn convert(self) -> ContextError { + self + } +} + /// Additional parse context for [`ContextError`] added via [`Parser::context`] #[derive(Clone, Debug, PartialEq, Eq)] #[non_exhaustive]