| error: missing documentation for a function |
| --> $DIR/pub_crate_missing_doc.rs:13:5 |
| | |
| LL | pub(crate) fn crate_no_docs() {} |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| = note: `-D clippy::missing-docs-in-private-items` implied by `-D warnings` |
| = help: to override `-D warnings` add `#[allow(clippy::missing_docs_in_private_items)]` |
| |
| error: missing documentation for a function |
| --> $DIR/pub_crate_missing_doc.rs:16:5 |
| | |
| LL | pub(super) fn super_no_docs() {} |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| |
| error: missing documentation for a function |
| --> $DIR/pub_crate_missing_doc.rs:24:9 |
| | |
| LL | pub(crate) fn sub_crate_no_docs() {} |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| |
| error: missing documentation for a struct field |
| --> $DIR/pub_crate_missing_doc.rs:34:9 |
| | |
| LL | pub(crate) crate_field_no_docs: (), |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| |
| error: missing documentation for a struct |
| --> $DIR/pub_crate_missing_doc.rs:40:5 |
| | |
| LL | / pub(crate) struct CrateStructNoDocs { |
| LL | | /// some docs |
| LL | | pub(crate) crate_field_with_docs: (), |
| LL | | pub(crate) crate_field_no_docs: (), |
| ... | |
| LL | | priv_field_no_docs: (), |
| LL | | } |
| | |_____^ |
| |
| error: missing documentation for a struct field |
| --> $DIR/pub_crate_missing_doc.rs:43:9 |
| | |
| LL | pub(crate) crate_field_no_docs: (), |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| |
| error: missing documentation for a type alias |
| --> $DIR/pub_crate_missing_doc.rs:52:1 |
| | |
| LL | type CrateTypedefNoDocs = String; |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| |
| error: aborting due to 7 previous errors |
| |