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

deny(missing_docs) prevents the tool from working #8

Closed
kornelski opened this issue Apr 16, 2018 · 0 comments
Closed

deny(missing_docs) prevents the tool from working #8

kornelski opened this issue Apr 16, 2018 · 0 comments

Comments

@kornelski
Copy link
Contributor

For example, xz2-rs has

#![deny(missing_docs, warnings)]

which gets applied to rerast's own internals, breaking compilation:

error: missing documentation for a struct
--> src/__rerast_internal.rs:155:1
|
155 | pub struct _PatternRuleMarker;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: missing documentation for a struct
--> src/__rerast_internal.rs:157:1
|
157 | pub struct _TraitRefRuleMarker;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Perhaps an explicit #![allow(missing_docs, warnings)] in the internal file could reverse this?

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

No branches or pull requests

1 participant