Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore extra_unused_type_parameters clippy lint
error: type parameter goes unused in function definition --> src/any.rs:124:23 | 124 | fn invalid_cast_to<T>(&self) -> ! { | ^^^ | = 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` error: type parameter goes unused in function definition --> src/de.rs:1530:24 | 1530 | fn assert<'de, T: serde::Deserializer<'de>>() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: consider removing the parameter = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters error: type parameter goes unused in function definition --> src/macros.rs:124:24 | 124 | fn assert_serialize<T: ?Sized + serde::Serialize>() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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` error: type parameter goes unused in function definition --> src/private.rs:7:37 | 7 | pub fn require_erased_serialize_impl<T>() | ^^^ | = help: consider removing the parameter = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters error: type parameter goes unused in function definition --> src/ser.rs:1475:18 | 1475 | fn assert<T: serde::Serialize>() {} | ^^^^^^^^^^^^^^^^^^^^^ | = help: consider removing the parameter = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters error: type parameter goes unused in function definition --> src/ser.rs:1496:18 | 1496 | fn assert<T: serde::Serializer>() {} | ^^^^^^^^^^^^^^^^^^^^^^ | = help: consider removing the parameter = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
- Loading branch information