Compiling detour v0.8.0 (https://github.com/darfink/detour-rs?rev=3b6f17a#3b6f17a8)
error[E0059]: type parameter to bare Fn trait must be a tuple
--> C:\Users\Станислав.cargo\git\checkouts\detour-rs-497fa4e2739f3073\3b6f17a\src\detours\statik.rs:106:8
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait Tuple is not implemented for ::Arguments
note: required by a bound in Fn
help: consider further restricting the associated type
|
106 | D: Fn<T::Arguments, Output = T::Output> + Send + 'static, ::Arguments: Tuple
| ~~~~~~~
error[E0059]: type parameter to bare Fn trait must be a tuple
--> C:\Users\Станислав.cargo\git\checkouts\detour-rs-497fa4e2739f3073\3b6f17a\src\detours\statik.rs:157:8
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait Tuple is not implemented for ::Arguments
note: required by a bound in Fn
help: consider further restricting the associated type
|
157 | C: Fn<T::Arguments, Output = T::Output> + Send + 'static, ::Arguments: Tuple
| ~~~~~~~
For more information about this error, try rustc --explain E0059.
error: could not compile detour due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
note: required by a bound in Fn help: consider further restricting the associated type | 106 | D: Fn<T::Arguments, Output = T::Output> + Send + 'static, ::Arguments: Tuple |
~~~~~~~note: required by a bound in Fn help: consider further restricting the associated type | 157 | C: Fn<T::Arguments, Output = T::Output> + Send + 'static, ::Arguments: Tuple |
~~~~~~~For more information about this error, try rustc --explain E0059. error: could not compile detour due to 2 previous errors warning: build failed, waiting for other jobs to finish...