From 920ad73295aef42950dfc386e0e28f9910b0fcb6 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 10 Feb 2023 19:17:54 -0800 Subject: [PATCH] Ignore extra_unused_type_parameters clippy lint in test error: type parameter goes unused in function definition --> tests/test_from.rs:51:15 | 51 | fn assert_impl>() {} | ^^^^^^^^^^^^^^^^^^^^ | = 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` --- tests/test_from.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_from.rs b/tests/test_from.rs index 1f38705..51af40b 100644 --- a/tests/test_from.rs +++ b/tests/test_from.rs @@ -1,3 +1,5 @@ +#![allow(clippy::extra_unused_type_parameters)] + use std::io; use thiserror::Error;