diff --git a/cloud-hypervisor/tests/integration.rs b/cloud-hypervisor/tests/integration.rs index 43b08b158..531c4c6d2 100644 --- a/cloud-hypervisor/tests/integration.rs +++ b/cloud-hypervisor/tests/integration.rs @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 // #![cfg(any(devcli_testenv, clippy))] -#![allow(clippy::undocumented_unsafe_blocks)] +#![expect(clippy::undocumented_unsafe_blocks)] // TODO: Trim qualified paths in this crate, then drop this expectation. #![expect(clippy::absolute_paths)] // When enabling the `mshv` feature, we skip quite some tests and diff --git a/cloud-hypervisor/tests/integration_cvm.rs b/cloud-hypervisor/tests/integration_cvm.rs index d8282ff3e..b675bfa8c 100644 --- a/cloud-hypervisor/tests/integration_cvm.rs +++ b/cloud-hypervisor/tests/integration_cvm.rs @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 // #![cfg(any(devcli_testenv, clippy))] -#![allow(clippy::undocumented_unsafe_blocks)] +#![expect(clippy::undocumented_unsafe_blocks)] // TODO: Trim qualified paths in this crate, then drop this expectation. #![expect(clippy::absolute_paths)] // When enabling the `mshv` feature, we skip quite some tests and