diff --git a/src/converter.rs b/src/converter.rs index 2656ac7..a1d04eb 100644 --- a/src/converter.rs +++ b/src/converter.rs @@ -13,7 +13,7 @@ pub enum Error { ProtobufGenerator(asn1rs_model::generate::protobuf::Error), Model(asn1rs_model::parse::Error), Io(std::io::Error), - ResolveError(asn1rs_model::resolve::Error), + ResolveFailure(asn1rs_model::resolve::Error), } #[cfg(feature = "protobuf")] @@ -37,7 +37,7 @@ impl From for Error { impl From for Error { fn from(e: asn1rs_model::resolve::Error) -> Self { - Error::ResolveError(e) + Error::ResolveFailure(e) } }