Qualify send sync markers#672
Qualify send sync markers#672asomers merged 1 commit intoasomers:masterfrom rakai93:qualify_send_sync_markers
Conversation
asomers
left a comment
There was a problem hiding this comment.
Lol, that's a silly problem. But your solution is a good one. However, could you please add two things?
- A CHANGELOG entry
- A test case in mockall/tests
|
Yes, the problem is indeed silly, but working on I/O related stuff where sending data is a thing, naming a struct |
|
If you rebase now, the test should be fixed. |
|
Thank you for taking care! What is your usual release cycle, or asked differently, when can I expect to have a real mockall version in my |
|
I don't release at any regular interval. But there are several bug fixes since the last release, so I think that I ought to release soon. Maybe Sunday. |
|
Mockall 0.14.0 is published, @rakai93 |
When there is a struct in scope that is named
SendorSync, the code generated by#[mockall::automock]does not compile because it prefers the local scope over prelude traits. This PR fixes this issue by fully qualifying::std::marker::Sendand::std::marker::Syncin the code generated by mockall.