diff --git a/naga/src/front/spv/error.rs b/naga/src/front/spv/error.rs index bcbb47dde..219048e10 100644 --- a/naga/src/front/spv/error.rs +++ b/naga/src/front/spv/error.rs @@ -162,6 +162,6 @@ impl Error { impl From for Error { fn from(source: atomic_upgrade::Error) -> Self { - crate::front::spv::Error::AtomicUpgradeError(source) + Error::AtomicUpgradeError(source) } }