Skip to content

Commit 6586d8f

Browse files
committed
Ignore extra_unused_type_parameters clippy lint in test
error: type parameter goes unused in function definition --> tests/macros.rs:3:16 | 3 | fn assert_clone<T: Clone>() {} | ^^^^^^^^^^ | = help: consider removing the parameter = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters = note: `-D clippy::extra-unused-type-parameters` implied by `-D clippy::all`
1 parent fb089f6 commit 6586d8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/macros.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(clippy::extra_unused_type_parameters)]
2+
13
use dyn_clone::{clone_trait_object, DynClone};
24

35
fn assert_clone<T: Clone>() {}

0 commit comments

Comments
 (0)