You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm pretty sure the A parameter for Function<A, R> should be contravariant, but it is covariant because of (PhantomData<A>, PhantomData<R>). Changing it to PhantomData<fn(A) -> R> should fix this
The text was updated successfully, but these errors were encountered:
I'm pretty sure the
A
parameter forFunction<A, R>
should be contravariant, but it is covariant because of(PhantomData<A>, PhantomData<R>)
. Changing it toPhantomData<fn(A) -> R>
should fix thisThe text was updated successfully, but these errors were encountered: