diff --git a/naga/src/front/spv/mod.rs b/naga/src/front/spv/mod.rs index d21811d1d..2ef602ef0 100644 --- a/naga/src/front/spv/mod.rs +++ b/naga/src/front/spv/mod.rs @@ -4335,7 +4335,7 @@ impl> Frontend { if !self.upgrade_atomics.is_empty() { log::info!("Upgrading atomic pointers..."); - module.upgrade_atomics(std::mem::take(&mut self.upgrade_atomics))?; + module.upgrade_atomics(mem::take(&mut self.upgrade_atomics))?; } // Do entry point specific processing after all functions are parsed so that we can