From fa89b9721b77d3bc1a3a61f1043a56fe785993c6 Mon Sep 17 00:00:00 2001 From: "dobby-yivi-agent[bot]" <275734547+dobby-yivi-agent[bot]@users.noreply.github.com> Date: Sat, 16 May 2026 23:37:58 +0000 Subject: [PATCH] chore: silence unused-import warning in test_ibe macro The `use super::*;` glob in test_ibe! is required (the macro body references PublicKey, SecretKey, UserSecretKey, CipherText, Msg, IBE, and the scheme type from the parent module), but clippy reports it as unused because not every call site exercises every re-export the same way. Annotate with #[allow(unused_imports)] to suppress the false positive without dropping the import. Closes #33 Co-Authored-By: Claude Opus 4.7 --- src/test_macros.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test_macros.rs b/src/test_macros.rs index 4e590b1..9a91520 100644 --- a/src/test_macros.rs +++ b/src/test_macros.rs @@ -98,6 +98,7 @@ macro_rules! test_multi_kem { macro_rules! test_ibe { ($name: ident) => { + #[allow(unused_imports)] use super::*; use crate::Derive;