From e70291dbc65ed8a602df5e97d923f9de2dbddbcc Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Sun, 22 Jan 2023 23:13:44 +0000 Subject: [PATCH] fix: anyhow-error feature build --- --- a/crates/jrsonnet-evaluator/src/error.rs +++ b/crates/jrsonnet-evaluator/src/error.rs @@ -207,13 +207,13 @@ #[cfg(feature = "anyhow-error")] #[error(transparent)] - Other(Rc), + Other(#[trace(skip)] std::rc::Rc), } #[cfg(feature = "anyhow-error")] impl From for Error { fn from(e: anyhow::Error) -> Self { - Self::new(ErrorKind::Other(Rc::new(e))) + Self::new(ErrorKind::Other(std::rc::Rc::new(e))) } } -- gitstuff