1error: missing documentation for a struct 2 --> tests/ui/deny_missing_docs.rs:11:5 3 | 411 | pub struct UndocumentedStruct { 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 7note: the lint level is defined here 8 --> tests/ui/deny_missing_docs.rs:6:9 9 | 106 | #![deny(missing_docs)] 11 | ^^^^^^^^^^^^ 12 13error: missing documentation for a struct field 14 --> tests/ui/deny_missing_docs.rs:12:9 15 | 1612 | pub undocumented_field: u8, 17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 18 19error: missing documentation for a struct 20 --> tests/ui/deny_missing_docs.rs:21:5 21 | 2221 | pub enum UndocumentedEnum { 23 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 24 25error: missing documentation for an associated constant 26 --> tests/ui/deny_missing_docs.rs:22:9 27 | 2822 | UndocumentedVariant = 0, 29 | ^^^^^^^^^^^^^^^^^^^ 30 31error: missing documentation for a struct 32 --> tests/ui/deny_missing_docs.rs:44:9 33 | 3444 | pub type UndocumentedForeignType; 35 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36 37error: missing documentation for a type alias 38 --> tests/ui/deny_missing_docs.rs:49:9 39 | 4049 | pub type UndocumentedTypeAlias = crate::bindgen::UndocumentedTypeAlias; 41 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 42 43error: missing documentation for a function 44 --> tests/ui/deny_missing_docs.rs:54:9 45 | 4654 | pub fn undocumented_foreign_fn() -> u8; 47 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 48