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

derived! incompatible with #[deny(missing_docs)] #36

Open
spease opened this issue Feb 1, 2018 · 1 comment
Open

derived! incompatible with #[deny(missing_docs)] #36

spease opened this issue Feb 1, 2018 · 1 comment

Comments

@spease
Copy link

spease commented Feb 1, 2018

Even if I add a doc comment above the macro invocation, I still get a "missing documentation for a type alias" error.

Eg:

#![deny(missing_docs)]

use dimensioned::si::{self, SI};
/// Some doc comment
derived!(si, SI: InverseMeter3 = Unitless / Meter3);
@droundy
Copy link
Contributor

droundy commented Aug 13, 2018

Sounds like it would help to add some `#[allow(missing_docs)] attrs in the derive implementation. I need to do something similar in ClapMe to silence warnings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants