Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore clippy::extra_unused_type_parameters lint in test
``` warning: type parameter goes unused in function definition --> src/gen/assert_impl.rs:8:15 | 8 | fn assert_send<T: ?Sized + Send>() {} | ^^^^^^^^^^^^^^^^^^ | = 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: `#[warn(clippy::extra_unused_type_parameters)]` on by default warning: type parameter goes unused in function definition --> src/gen/assert_impl.rs:10:15 | 10 | fn assert_sync<T: ?Sized + Sync>() {} | ^^^^^^^^^^^^^^^^^^ | = help: consider removing the parameter = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters warning: type parameter goes unused in function definition --> src/gen/assert_impl.rs:12:16 | 12 | fn assert_unpin<T: ?Sized + Unpin>() {} | ^^^^^^^^^^^^^^^^^^^ | = help: consider removing the parameter = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters warning: type parameter goes unused in function definition --> src/gen/assert_impl.rs:14:22 | 14 | fn assert_unwind_safe<T: ?Sized + std::panic::UnwindSafe>() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: consider removing the parameter = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters warning: type parameter goes unused in function definition --> src/gen/assert_impl.rs:16:26 | 16 | fn assert_ref_unwind_safe<T: ?Sized + std::panic::RefUnwindSafe>() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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