diff --git a/crates/libs/metadata/src/error.rs b/crates/libs/metadata/src/error.rs index 31926e938b..66f9143d62 100644 --- a/crates/libs/metadata/src/error.rs +++ b/crates/libs/metadata/src/error.rs @@ -7,6 +7,8 @@ pub struct Error { span: Option<(usize, usize)>, } +impl std::error::Error for Error {} + impl From for std::io::Error { fn from(error: Error) -> Self { std::io::Error::new(std::io::ErrorKind::Other, error.message.as_str())