diff --git a/naga/src/span.rs b/naga/src/span.rs index 2a5538b421..b098bf83e5 100644 --- a/naga/src/span.rs +++ b/naga/src/span.rs @@ -327,10 +327,7 @@ pub(crate) trait AddSpan: Sized { fn with_span_handle>(self, handle: Handle, arena: &A) -> Self::Output; } -impl AddSpan for E -where - E: Error, -{ +impl AddSpan for E { type Output = WithSpan; fn with_span(self) -> WithSpan {