diff --git a/mockall/tests/automock_generic_method_without_generic_args_or_return.rs b/mockall/tests/automock_generic_method_without_generic_args_or_return.rs index 4d8d4443..63b297bb 100644 --- a/mockall/tests/automock_generic_method_without_generic_args_or_return.rs +++ b/mockall/tests/automock_generic_method_without_generic_args_or_return.rs @@ -10,10 +10,12 @@ pub struct Foo{} #[automock] impl Foo { + #[allow(clippy::extra_unused_type_parameters)] pub fn foo(&self) -> i32 { unimplemented!() } /// A static method + #[allow(clippy::extra_unused_type_parameters)] pub fn bar() -> i32 { unimplemented!() }