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

Suppress clippy::too_many_arguments warnings in the generated code #487

Merged
merged 1 commit into from
May 26, 2023

Conversation

asomers
Copy link
Owner

@asomers asomers commented May 26, 2023

This warning has always been possible, but it was particularly annoying when the user mocks a static function with seven arguments. Because in that case, some of the generated code will have eight arguments, triggering the warning even though the original code did not.

Fixes #480

This warning has always been possible, but it was particularly annoying
when the user mocks a static function with seven arguments.  Because in
that case, some of the generated code will have eight arguments,
triggering the warning even though the original code did not.

Fixes #480
@asomers asomers merged commit 671abc7 into master May 26, 2023
3 checks passed
@asomers asomers deleted the seven_args branch May 26, 2023 22:48
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.

Clippy warning in generated code: too many arguments
1 participant