Skip to content

Work around unused_parens rustc issue #119

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

Merged
merged 1 commit into from
Aug 12, 2020
Merged

Work around unused_parens rustc issue #119

merged 1 commit into from
Aug 12, 2020

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Aug 12, 2020

Closes #118.

Rustc is inserting needless parens into the macro input before calling async_trait, then warning the user that they wrote needless parens. See #118 (comment).

@dtolnay dtolnay merged commit 36906fe into master Aug 12, 2020
@dtolnay dtolnay deleted the parens branch August 12, 2020 20:18
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.

unused_parens warning generated
1 participant