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
PR #21 was incomplete. It fixed non-generic methods using Self. However, it broke generic methods using Self. The problem is that mockall_derive/src/mock.rs:397 passes the merged generics field to expectation, but PR #21 treated it as the struct's generic only. The result is that automocking a generic constructor will give an unexpected type argument error.
The text was updated successfully, but these errors were encountered:
PR #21 was incomplete. It fixed non-generic methods using
Self
. However, it broke generic methods usingSelf
. The problem is that mockall_derive/src/mock.rs:397 passes the merged generics field toexpectation
, but PR #21 treated it as the struct's generic only. The result is that automocking a generic constructor will give anunexpected type argument
error.The text was updated successfully, but these errors were encountered: