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 in generated code
error: type parameter goes unused in function definition --> demo/src/main.rs:11:14 | 11 | type MultiBuf; | ^^^^^^^^ | = 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/cxx_string.rs:94:15 | 94 | pub fn new<T: Private>() -> 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 error: type parameter goes unused in function definition --> src/extern_type.rs:184:27 | 184 | pub fn verify_extern_type<T: ExternType<Id = Id>, Id>() {} | ^^^^^^^^^^^^^^^^^^^^^^^ | = 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/extern_type.rs:187:27 | 187 | pub fn verify_extern_kind<T: ExternType<Kind = Kind>, Kind: self::Kind>() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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/ffi/lib.rs:230:14 | 230 | type Reference<'a>; | ^^^^^^^^^ | = 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/ffi/lib.rs:259:14 | 259 | type R; | ^ | = 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