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

automock removes elided lifetime parameters from structs #610

Open
asomers opened this issue Oct 6, 2024 · 0 comments
Open

automock removes elided lifetime parameters from structs #610

asomers opened this issue Oct 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@asomers
Copy link
Owner

asomers commented Oct 6, 2024

It's normal for a struct's impl block to elide lifetime parameters that aren't needed in the impl block. But Mockall currently confuses that for "there are no lifetime parameters", which isn't correct.

asomers added a commit that referenced this issue Oct 6, 2024
automock wrongly removes elided lifetimes from structs

Issue #610
@asomers asomers added the bug Something isn't working label Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant