Skip to content
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

Fix three issues with mocking modules #169

Merged
merged 3 commits into from
Aug 9, 2020
Merged

Fix three issues with mocking modules #169

merged 3 commits into from
Aug 9, 2020

Conversation

asomers
Copy link
Owner

@asomers asomers commented Aug 9, 2020

  1. methods that return "impl Trait" wouldn't work
  2. methods that use mutable arguments would spew warnings
  3. The mock module had too generous visibility.

@asomers asomers merged commit 7f4ef45 into master Aug 9, 2020
@asomers asomers deleted the automock_module branch August 9, 2020 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant