Skip to content

Commit fa89b97

Browse files
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 <noreply@anthropic.com>
1 parent 6a4d589 commit fa89b97

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/test_macros.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ macro_rules! test_multi_kem {
9898

9999
macro_rules! test_ibe {
100100
($name: ident) => {
101+
#[allow(unused_imports)]
101102
use super::*;
102103
use crate::Derive;
103104

0 commit comments

Comments
 (0)