-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An async trait mock won't compile in 0.10.1 but did in 0.9 #306
Comments
Did this work on 0.9.1 ? |
@asomers Indeed it did |
The problem is caused by mocking a trait method that returns a non-static structure on a generic struct. That conflicts with the specific impl code from PR #274 . You wouldn't have a problem if:
This is fixable, but it might take some time. |
@Sushisource could you please test the branch in the linked PR? |
@asomers Yep, that's worked for me. Thanks! |
Just released 0.10.2 . Thanks for the bug report! |
This looks nearly identical to #298 but I'm using 0.10.1 and still getting the error. My trait and the manual mock:
The text was updated successfully, but these errors were encountered: