clippy: Suppress needless_pass_by_value in tests

Rationale: same as for useless_vec, as in 01cb7ee0a1.

Prompted by reading a commit where someone did makework to get rid of
an occurrence of this warning.
This commit is contained in:
Ian Jackson 2023-08-22 15:26:40 +01:00
parent 696696857d
commit ce8b0184ec
1 changed files with 1 additions and 0 deletions

View File

@ -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 ----------