1/// Unit parsing error. 2#[derive(#[automatically_derived] impl ::core::fmt::Debug for Error { #[inline] fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result { ::core::fmt::Formatter::write_str(f, "Error") } }Debug)] 3pub struct Error; 4 5impl core::fmt::Display for Error { 6 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { 7 core::fmt::Debug::fmt(self, f) 8 } 9} 10 11#[cfg(feature = "std")] 12impl std::error::Error for Error {}