From 9df5c5a8acf991c9f35e865b84fd1096820c2d32 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Wed, 25 Nov 2026 12:14:22 -0800 Subject: [PATCH] Tests: the format 2.2 library test takes each name by auto-deref What: name: *name became the field shorthand; clippy's explicit_auto_deref refused the deref in all three configurations (quick check m3-max-73798). Verified: the next quick check. --- crates/metal2vulkan/src/tests/format_2_2_libraries.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/metal2vulkan/src/tests/format_2_2_libraries.rs b/crates/metal2vulkan/src/tests/format_2_2_libraries.rs index 3c3bec90c..8f918e7eb 100644 --- a/crates/metal2vulkan/src/tests/format_2_2_libraries.rs +++ b/crates/metal2vulkan/src/tests/format_2_2_libraries.rs @@ -72,7 +72,7 @@ fn a_format_2_2_library_compiles_as_today_s_layout() { .iter() .zip(&modules) .map(|((name, type_code, _), m)| MtlbFunction { - name: *name, + name, type_code: *type_code, bitcode: m.clone(), constants: Vec::new(),