1 error: missing documentation for a type alias
2 --> missing-doc.rs:26:1
4 26 | type Typedef = String;
5 | ^^^^^^^^^^^^^^^^^^^^^^
7 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
9 error: missing documentation for a type alias
10 --> missing-doc.rs:27:1
12 27 | pub type PubTypedef = String;
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
17 error: missing documentation for a struct
18 --> missing-doc.rs:29:1
26 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
28 error: missing documentation for a struct field
29 --> missing-doc.rs:30:5
34 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
36 error: missing documentation for a struct field
37 --> missing-doc.rs:31:5
42 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
44 error: missing documentation for a struct
45 --> missing-doc.rs:34:1
47 34 | / pub struct PubFoo {
53 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
55 error: missing documentation for a struct field
56 --> missing-doc.rs:35:5
61 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
63 error: missing documentation for a struct field
64 --> missing-doc.rs:36:5
69 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
71 error: missing documentation for a module
72 --> missing-doc.rs:45:1
74 45 | mod module_no_dox {}
75 | ^^^^^^^^^^^^^^^^^^^^
77 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
79 error: missing documentation for a module
80 --> missing-doc.rs:46:1
82 46 | pub mod pub_module_no_dox {}
83 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
85 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
87 error: missing documentation for a function
88 --> missing-doc.rs:50:1
93 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
95 error: missing documentation for a function
96 --> missing-doc.rs:51:1
101 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
103 error: missing documentation for a trait
104 --> missing-doc.rs:68:1
107 69 | | fn foo(&self);
108 70 | | fn foo_with_impl(&self) {}
112 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
114 error: missing documentation for a trait method
115 --> missing-doc.rs:69:5
120 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
122 error: missing documentation for a trait method
123 --> missing-doc.rs:70:5
125 70 | fn foo_with_impl(&self) {}
126 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
128 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
130 error: missing documentation for an associated type
131 --> missing-doc.rs:80:5
133 80 | type AssociatedType;
134 | ^^^^^^^^^^^^^^^^^^^^
136 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
138 error: missing documentation for an associated type
139 --> missing-doc.rs:81:5
141 81 | type AssociatedTypeDef = Self;
142 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
144 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
146 error: missing documentation for a method
147 --> missing-doc.rs:92:5
152 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
154 error: missing documentation for a method
155 --> missing-doc.rs:93:5
160 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
162 error: missing documentation for a method
163 --> missing-doc.rs:97:5
168 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
170 error: missing documentation for a method
171 --> missing-doc.rs:100:5
176 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
178 error: missing documentation for an enum
179 --> missing-doc.rs:126:1
190 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
192 error: missing documentation for a variant
193 --> missing-doc.rs:127:5
201 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
203 error: missing documentation for a struct field
204 --> missing-doc.rs:128:9
209 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
211 error: missing documentation for a struct field
212 --> missing-doc.rs:129:9
217 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
219 error: missing documentation for a variant
220 --> missing-doc.rs:131:5
225 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
227 error: missing documentation for an enum
228 --> missing-doc.rs:134:1
230 134 | / pub enum PubBaz {
237 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
239 error: missing documentation for a variant
240 --> missing-doc.rs:135:5
247 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
249 error: missing documentation for a struct field
250 --> missing-doc.rs:136:9
255 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
257 error: missing documentation for a constant
258 --> missing-doc.rs:160:1
260 160 | const FOO: u32 = 0;
261 | ^^^^^^^^^^^^^^^^^^^
263 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
265 error: missing documentation for a constant
266 --> missing-doc.rs:167:1
268 167 | pub const FOO4: u32 = 0;
269 | ^^^^^^^^^^^^^^^^^^^^^^^^
271 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
273 error: missing documentation for a static
274 --> missing-doc.rs:170:1
276 170 | static BAR: u32 = 0;
277 | ^^^^^^^^^^^^^^^^^^^^
279 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
281 error: missing documentation for a static
282 --> missing-doc.rs:177:1
284 177 | pub static BAR4: u32 = 0;
285 | ^^^^^^^^^^^^^^^^^^^^^^^^^
287 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
289 error: missing documentation for a module
290 --> missing-doc.rs:180:1
292 180 | / mod internal_impl {
294 182 | | pub fn documented() {}
295 183 | | pub fn undocumented1() {}
301 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
303 error: missing documentation for a function
304 --> missing-doc.rs:183:5
306 183 | pub fn undocumented1() {}
307 | ^^^^^^^^^^^^^^^^^^^^^^^^^
309 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
311 error: missing documentation for a function
312 --> missing-doc.rs:184:5
314 184 | pub fn undocumented2() {}
315 | ^^^^^^^^^^^^^^^^^^^^^^^^^
317 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
319 error: missing documentation for a function
320 --> missing-doc.rs:185:5
322 185 | fn undocumented3() {}
323 | ^^^^^^^^^^^^^^^^^^^^^
325 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
327 error: missing documentation for a function
328 --> missing-doc.rs:190:9
330 190 | pub fn also_undocumented1() {}
331 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
333 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
335 error: missing documentation for a function
336 --> missing-doc.rs:191:9
338 191 | fn also_undocumented2() {}
339 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
341 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
343 error: missing documentation for a function
344 --> missing-doc.rs:202:1
349 = note: `-D missing-docs-in-private-items` implied by `-D warnings`
351 error: aborting due to previous error(s)
354 To learn more, run the command again with --verbose.