We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is incorrect, it shouldn't complain since the trait is private.
#[deny(missing_doc)]; trait PrivateTrait { fn method(&self); }
$ rustc --lib private-trait.rs private-trait.rs:3:4: 3:20 error: missing documentation for a method private-trait.rs:3 fn method(&self); ^~~~~~~~~~~~~~~~ private-trait.rs:1:7: 1:18 note: lint level defined here private-trait.rs:1 #[deny(missing_doc)]; ^~~~~~~~~~~ error: aborting due to previous error task '<unnamed>' failed at 'explicit failure', /home/huon/rust/src/libsyntax/diagnostic.rs:98 task '<unnamed>' failed at 'explicit failure', /home/huon/rust/src/librustc/rustc.rs:395
The text was updated successfully, but these errors were encountered:
auto merge of #10165 : dcrewi/rust/missing-doc-on-private-trait, r=cmr
e0c01ca
Fixes #10069.
ba436a8
Successfully merging a pull request may close this issue.
This is incorrect, it shouldn't complain since the trait is private.
The text was updated successfully, but these errors were encountered: