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

Disable missing_docs lint for new types created by EnumIter #25

Merged

Conversation

lo48576
Copy link
Contributor

@lo48576 lo48576 commented May 23, 2018

New structs generated by derive(EnumIter) caused warning: missing documentation for a struct warning on my environment (rustc 1.28.0-nightly (cb20f68d0 2018-05-21)).

I don't know whether this behavior (lint enabled for automatically generated code which users may not be responsible) will change later or not, but I think it is not so bad if these lints are automatically disabled for automatically generated codes.

@Peternator7
Copy link
Owner

Makes sense!

@Peternator7 Peternator7 merged commit e2ed13a into Peternator7:master May 23, 2018
@lo48576 lo48576 deleted the feature/suppress-missing-doc-lint branch May 30, 2018 06: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.

None yet

2 participants