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 currently requires that the closures passed to methods like returning are 'static. That's overly restrictive. The correct restriction should be that their lifetime is at least as great as the Expectation's. Likewise for the closures passed to methods like withf.
The text was updated successfully, but these errors were encountered:
Mockall currently requires that the closures passed to methods like
returning
are'static
. That's overly restrictive. The correct restriction should be that their lifetime is at least as great as theExpectation
's. Likewise for the closures passed to methods likewithf
.The text was updated successfully, but these errors were encountered: