aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/deny_missing_docs.stderr
blob: 54ab987b451eca1aa5528199c6f692bdf4d5fa80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
error: missing documentation for a struct
  --> tests/ui/deny_missing_docs.rs:11:5
   |
11 |     pub struct UndocumentedStruct {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> tests/ui/deny_missing_docs.rs:6:9
   |
6  | #![deny(missing_docs)]
   |         ^^^^^^^^^^^^

error: missing documentation for a struct field
  --> tests/ui/deny_missing_docs.rs:12:9
   |
12 |         pub undocumented_field: u8,
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^

error: missing documentation for a struct
  --> tests/ui/deny_missing_docs.rs:21:5
   |
21 |     pub enum UndocumentedEnum {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^

error: missing documentation for an associated constant
  --> tests/ui/deny_missing_docs.rs:22:9
   |
22 |         UndocumentedVariant = 0,
   |         ^^^^^^^^^^^^^^^^^^^

error: missing documentation for a struct
  --> tests/ui/deny_missing_docs.rs:44:9
   |
44 |         pub type UndocumentedForeignType;
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: missing documentation for a type alias
  --> tests/ui/deny_missing_docs.rs:49:9
   |
49 |         pub type UndocumentedTypeAlias = crate::bindgen::UndocumentedTypeAlias;
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: missing documentation for a function
  --> tests/ui/deny_missing_docs.rs:54:9
   |
54 |         pub fn undocumented_foreign_fn() -> u8;
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^