From 74ecbb2e0c179e783dc50f66d6bb8a048e10ba55 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 14 Oct 2026 20:22:34 +0200 Subject: [PATCH] decode_stack tests: the at-bound union fixture is allowed its large variant Co-Authored-By: Claude Sonnet 5.5 --- packages/cultcache-rs/tests/decode_stack.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/cultcache-rs/tests/decode_stack.rs b/packages/cultcache-rs/tests/decode_stack.rs index 8ecd0708..c2e61a3d 100644 --- a/packages/cultcache-rs/tests/decode_stack.rs +++ b/packages/cultcache-rs/tests/decode_stack.rs @@ -273,6 +273,8 @@ struct LargestUnionArm { next: Option>, } +// The fixture is the largest arm the derives accept next to a unit variant, which is the point. +#[allow(clippy::large_enum_variant)] #[derive(Clone, Debug, PartialEq, CultUnion)] enum LargestUnion { #[cultcache(key = 0)]