difftreelog
fix anyhow-error feature build
in: master
1 file changed
crates/jrsonnet-evaluator/src/error.rsdiffbeforeafterboth207207208 #[cfg(feature = "anyhow-error")]208 #[cfg(feature = "anyhow-error")]209 #[error(transparent)]209 #[error(transparent)]210 Other(Rc<anyhow::Error>),210 Other(#[trace(skip)] std::rc::Rc<anyhow::Error>),211}211}212212213#[cfg(feature = "anyhow-error")]213#[cfg(feature = "anyhow-error")]214impl From<anyhow::Error> for Error {214impl From<anyhow::Error> for Error {215 fn from(e: anyhow::Error) -> Self {215 fn from(e: anyhow::Error) -> Self {216 Self::new(ErrorKind::Other(Rc::new(e)))216 Self::new(ErrorKind::Other(std::rc::Rc::new(e)))217 }217 }218}218}219219