From ce8b0184ec6d896a7c7d136467f40db34a6b61fd Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 22 Aug 2023 15:26:40 +0100 Subject: [PATCH] clippy: Suppress needless_pass_by_value in tests Rationale: same as for useless_vec, as in 01cb7ee0a112. Prompted by reading a commit where someone did makework to get rid of an occurrence of this warning. --- maint/add_warning | 1 + 1 file changed, 1 insertion(+) diff --git a/maint/add_warning b/maint/add_warning index 95a996fbe..f25827812 100755 --- a/maint/add_warning +++ b/maint/add_warning @@ -67,6 +67,7 @@ TEST_LINTS = """ #![allow(clippy::unwrap_used)] #![allow(clippy::unchecked_duration_subtraction)] #![allow(clippy::useless_vec)] +#![allow(clippy::needless_pass_by_value)] """ # ---------- some notes about lints we might use - NOT USED by any code here ----------