From 1555b59d42a1eba747b7e1a945f47e9bad52efd3 Mon Sep 17 00:00:00 2001 From: Tushar Khatri Date: Wed, 17 Jun 2026 16:05:02 +0000 Subject: [PATCH] ch-remote: reevaluate #[allow] attributes Convert the still-needed #[allow] to #[expect] so it warns if the lint stops firing. Part of #8326. Signed-off-by: Tushar Khatri --- cloud-hypervisor/src/bin/ch-remote.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud-hypervisor/src/bin/ch-remote.rs b/cloud-hypervisor/src/bin/ch-remote.rs index 26f327657..fcdb50a92 100644 --- a/cloud-hypervisor/src/bin/ch-remote.rs +++ b/cloud-hypervisor/src/bin/ch-remote.rs @@ -1232,7 +1232,7 @@ fn main() { if let Err(top_error) = target_api.do_command(&matches) { // Helper to join strings with a newline. - #[allow(clippy::needless_pass_by_value)] + #[expect(clippy::needless_pass_by_value)] fn join_strs(mut acc: String, next: String) -> String { if !acc.is_empty() { acc.push('\n');