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
Mockall knows that if a mocked function's return type is Self, it should replace that with the mock type. See the various constructor tests in mockall/tests. But it doesn't currently perform that transformation for argument types, unless they're self. That comes up with methods like eq, which compare two arguments of Self type. It should. For example, neither of the functions here will compile successfully:
Mockall knows that if a mocked function's return type is
Self
, it should replace that with the mock type. See the various constructor tests in mockall/tests. But it doesn't currently perform that transformation for argument types, unless they'reself
. That comes up with methods likeeq
, which compare two arguments ofSelf
type. It should. For example, neither of the functions here will compile successfully:The text was updated successfully, but these errors were encountered: