Ignore extra_unused_type_parameters clippy lint in test
Before adoption: this commit came in with the history the project adopted, so no landing records it.
error: type parameter goes unused in function definition --> src/backtrace.rs:399:15 | 399 | fn _assert<T: Send + 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 = note: `-D clippy::extra-unused-type-parameters` implied by `-D clippy::all` error: type parameter goes unused in function definition --> tests/test_autotrait.rs:5:19 | 5 | fn assert_send<T: 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 error: type parameter goes unused in function definition --> tests/test_autotrait.rs:11:19 | 11 | fn assert_sync<T: 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 error: type parameter goes unused in function definition --> tests/test_ensure.rs:353:10 | 353 | fn g<T, const I: isize>() {} | ^^ | = 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 --> tests/test_repr.rs:20:14 | 20 | fn assert<E: Unpin + Send + Sync + 'static>() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: consider removing the parameter = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+6 added−0 removed
- tests:+5 added−0 removed
- other:+1 added−0 removed