From a7ae85b2fc6ea54a5bb8f108291dc50721ebf59b Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 23 Nov 2026 19:43:32 -0800 Subject: [PATCH] Tests: the variant-reconvergence test passes its artifacts without an explicit deref Clippy's explicit_auto_deref denied state(&*plain) and state(&*variant) in a_simdgroup_barrier_s_variant_is_guaranteed_only_under_maximal_reconvergence (check job m3-max-72773, cancelled after its first clippy step had reported the three errors); the closure takes &FunctionArtifact, which &Arc coerces to. --- .../metal2vulkan/src/tests/engine_variant_reconvergence.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/metal2vulkan/src/tests/engine_variant_reconvergence.rs b/crates/metal2vulkan/src/tests/engine_variant_reconvergence.rs index 97f77d59d..677da1e7a 100644 --- a/crates/metal2vulkan/src/tests/engine_variant_reconvergence.rs +++ b/crates/metal2vulkan/src/tests/engine_variant_reconvergence.rs @@ -49,13 +49,13 @@ fn a_simdgroup_barrier_s_variant_is_guaranteed_only_under_maximal_reconvergence( ) }; let guaranteed = (Reconvergence::Guaranteed, false); - assert_eq!(state(&*plain), guaranteed, "{stem}: the plain module"); + assert_eq!(state(&plain), guaranteed, "{stem}: the plain module"); if p.fields().subgroup.maximal_reconvergence { - assert_eq!(state(&*variant), guaranteed, "{stem}: the variant"); + assert_eq!(state(&variant), guaranteed, "{stem}: the variant"); with += 1; } else { assert_eq!( - state(&*variant), + state(&variant), (Reconvergence::ImplementationDefined, true), "{stem}: the variant" );