--- 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))) } }