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

Add compatibility with auto_enums #590

Merged
merged 1 commit into from
Jul 6, 2024
Merged

Add compatibility with auto_enums #590

merged 1 commit into from
Jul 6, 2024

Conversation

asomers
Copy link
Owner

@asomers asomers commented Jul 6, 2024

Make Mockall compatible with the use of the auto_enums crate for functions that use RPIT, like this:

    #[auto_enum(Future)]
    fn foo() -> impl Future<Output=()> {
        ...
    }

Make Mockall compatible with the use of the auto_enums crate for
functions that use RPIT, like this:
```rust
    #[auto_enum(Future)]
    fn foo() -> impl Future<Output=()> {
        ...
    }
```
@asomers asomers merged commit 803873a into master Jul 6, 2024
3 checks passed
@asomers asomers deleted the auto_enum branch July 6, 2024 22:38
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