]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-missing-doc.stderr
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / ui / lint / lint-missing-doc.stderr
1 error: missing documentation for a type alias
2   --> $DIR/lint-missing-doc.rs:11:1
3    |
4 LL | pub type PubTypedef = String;
5    | ^^^^^^^^^^^^^^^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/lint-missing-doc.rs:3:9
9    |
10 LL | #![deny(missing_docs)]
11    |         ^^^^^^^^^^^^
12
13 error: missing documentation for a struct
14   --> $DIR/lint-missing-doc.rs:18:1
15    |
16 LL | pub struct PubFoo {
17    | ^^^^^^^^^^^^^^^^^
18
19 error: missing documentation for a struct field
20   --> $DIR/lint-missing-doc.rs:19:5
21    |
22 LL |     pub a: isize,
23    |     ^^^^^^^^^^^^
24
25 error: missing documentation for a module
26   --> $DIR/lint-missing-doc.rs:30:1
27    |
28 LL | pub mod pub_module_no_dox {}
29    | ^^^^^^^^^^^^^^^^^^^^^^^^^
30
31 error: missing documentation for a function
32   --> $DIR/lint-missing-doc.rs:34:1
33    |
34 LL | pub fn foo2() {}
35    | ^^^^^^^^^^^^^
36
37 error: missing documentation for a trait
38   --> $DIR/lint-missing-doc.rs:52:1
39    |
40 LL | pub trait C {
41    | ^^^^^^^^^^^
42
43 error: missing documentation for an associated function
44   --> $DIR/lint-missing-doc.rs:53:5
45    |
46 LL |     fn foo(&self);
47    |     ^^^^^^^^^^^^^^
48
49 error: missing documentation for an associated function
50   --> $DIR/lint-missing-doc.rs:54:5
51    |
52 LL |     fn foo_with_impl(&self) {}
53    |     ^^^^^^^^^^^^^^^^^^^^^^^
54
55 error: missing documentation for an associated type
56   --> $DIR/lint-missing-doc.rs:64:5
57    |
58 LL |     type AssociatedType;
59    |     ^^^^^^^^^^^^^^^^^^^
60
61 error: missing documentation for an associated type
62   --> $DIR/lint-missing-doc.rs:65:5
63    |
64 LL |     type AssociatedTypeDef = Self;
65    |     ^^^^^^^^^^^^^^^^^^^^^^
66
67 error: missing documentation for an associated function
68   --> $DIR/lint-missing-doc.rs:81:5
69    |
70 LL |     pub fn foo() {}
71    |     ^^^^^^^^^^^^
72
73 error: missing documentation for an enum
74   --> $DIR/lint-missing-doc.rs:118:1
75    |
76 LL | pub enum PubBaz {
77    | ^^^^^^^^^^^^^^^
78
79 error: missing documentation for a variant
80   --> $DIR/lint-missing-doc.rs:119:5
81    |
82 LL |     PubBazA {
83    |     ^^^^^^^
84
85 error: missing documentation for a struct field
86   --> $DIR/lint-missing-doc.rs:120:9
87    |
88 LL |         a: isize,
89    |         ^^^^^^^^
90
91 error: missing documentation for a constant
92   --> $DIR/lint-missing-doc.rs:151:1
93    |
94 LL | pub const FOO4: u32 = 0;
95    | ^^^^^^^^^^^^^^^^^^^
96
97 error: missing documentation for a static
98   --> $DIR/lint-missing-doc.rs:161:1
99    |
100 LL | pub static BAR4: u32 = 0;
101    | ^^^^^^^^^^^^^^^^^^^^
102
103 error: missing documentation for a function
104   --> $DIR/lint-missing-doc.rs:167:5
105    |
106 LL |     pub fn undocumented1() {}
107    |     ^^^^^^^^^^^^^^^^^^^^^^
108
109 error: missing documentation for a function
110   --> $DIR/lint-missing-doc.rs:168:5
111    |
112 LL |     pub fn undocumented2() {}
113    |     ^^^^^^^^^^^^^^^^^^^^^^
114
115 error: missing documentation for a function
116   --> $DIR/lint-missing-doc.rs:174:9
117    |
118 LL |         pub fn also_undocumented1() {}
119    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
120
121 error: missing documentation for a function
122   --> $DIR/lint-missing-doc.rs:189:5
123    |
124 LL |     pub fn extern_fn_undocumented(f: f32) -> f32;
125    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
126
127 error: missing documentation for a static
128   --> $DIR/lint-missing-doc.rs:194:5
129    |
130 LL |     pub static EXTERN_STATIC_UNDOCUMENTED: u8;
131    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
132
133 error: missing documentation for a foreign type
134   --> $DIR/lint-missing-doc.rs:199:5
135    |
136 LL |     pub type ExternTyUndocumented;
137    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
138
139 error: aborting due to 22 previous errors
140