Skip to content

Commit fb3e4b7

Browse files
committed
Ignore needless_pass_by_value Clippy pedantic lint in test suite
error: this argument is passed by value, but not consumed in the function body --> tests/test_macros.rs:65:22 | 65 | fn message(cell: Cell<&str>) -> &str { | ^^^^^^^^^^ help: consider taking a reference instead: `&Cell<&str>` | = note: `-D clippy::needless-pass-by-value` implied by `-D clippy::pedantic` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
1 parent 636bed6 commit fb3e4b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_macros.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#![allow(
22
clippy::eq_op,
33
clippy::items_after_statements,
4+
clippy::needless_pass_by_value,
45
clippy::shadow_unrelated,
56
clippy::wildcard_imports
67
)]

0 commit comments

Comments
 (0)