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

Better error message when mocking structs with elided lifetimes #622

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

asomers
Copy link
Owner

@asomers asomers commented Nov 17, 2024

If a struct has an elided lifetime in its impl block, then the generics list from the "impl" won't match the generics list from the struct. Mockall needs more work to handle that, and I'm not ready to invest that time right now.

If a struct has an elided lifetime in its impl block, then the generics
list from the "impl" won't match the generics list from the struct.
Mockall needs more work to handle that, and I'm not ready to invest that
time right now.
@asomers asomers merged commit 44d319b into master Nov 17, 2024
3 checks passed
@asomers asomers deleted the elided-lifetimes-error-message branch November 17, 2024 22:23
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