pv: Fix unfulfilled_lint_expectations warning

The test cases uses the ml_kem functions, therefore disable the
directive for tests.

$ cargo test
...
 --> pv/src/openssl_extensions/ml_kem.rs:5:11
  |
5 | #![expect(unused)]
  |           ^^^^^^
  |
  = note: `#[warn(unfulfilled_lint_expectations)]` on by default

Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Marc Hartmayer <marc@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Marc Hartmayer
2026-06-26 15:54:59 +02:00
committed by Jan Höppner
parent 3fd07bb7f2
commit d06d197522
+1 -1
View File
@@ -2,7 +2,7 @@
//
// Copyright IBM Corp.
#![expect(unused)]
#![cfg_attr(not(test), expect(unused))]
use std::ffi::CStr;
use std::ptr::NonNull;