diff --git a/packages/libs/error-stack/src/report.rs b/packages/libs/error-stack/src/report.rs index 49aaf7399f7..a26562db912 100644 --- a/packages/libs/error-stack/src/report.rs +++ b/packages/libs/error-stack/src/report.rs @@ -233,8 +233,8 @@ impl Report { let provider = temporary_provider(&context); #[cfg(all(nightly, feature = "std"))] - let backtrace = if core::any::request_ref::(&provider) - .filter(|backtrace| backtrace.status() == BacktraceStatus::Captured) + let backtrace = if core::any::request_ref(&provider) + .filter(|backtrace: &&Backtrace| backtrace.status() == BacktraceStatus::Captured) .is_some() { None @@ -243,8 +243,8 @@ impl Report { }; #[cfg(all(nightly, feature = "spantrace"))] - let span_trace = if core::any::request_ref::(&provider) - .filter(|span_trace| span_trace.status() == SpanTraceStatus::CAPTURED) + let span_trace = if core::any::request_ref(&provider) + .filter(|span_trace: &&SpanTrace| span_trace.status() == SpanTraceStatus::CAPTURED) .is_some() { None