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 more lints in generated code #277

Merged
merged 2 commits into from
Sep 21, 2020
Merged

Suppress more lints in generated code #277

merged 2 commits into from
Sep 21, 2020

Conversation

taiki-e
Copy link
Owner

@taiki-e taiki-e commented Sep 21, 2020

No description provided.

@taiki-e taiki-e changed the title Suppress more lints Suppress more lints in generated code Sep 21, 2020
@taiki-e taiki-e force-pushed the lints branch 2 times, most recently from 6dc2a7b to 59172d7 Compare September 21, 2020 12:54
Comment on lines +140 to +141
#[allow(variant_size_differences)] // for the type itself
#[allow(clippy::large_enum_variant)] // for the type itself
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that it does not suppress lints against the #[pin_project] type itself.
However, users can suppress lints simply by allowing it on the type. (Previously it need to be allowed at the module level.)

@taiki-e taiki-e force-pushed the lints branch 4 times, most recently from a958bae to 2088a94 Compare September 21, 2020 13:13
@taiki-e
Copy link
Owner Author

taiki-e commented Sep 21, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Sep 21, 2020

Build succeeded:

@bors bors bot merged commit 7a6ef1b into master Sep 21, 2020
@bors bors bot deleted the lints branch September 21, 2020 14:32
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