2017-02-07 21:05:30 +01:00
|
|
|
error: missing documentation for a type alias
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:38:1
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
38 | type Typedef = String;
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2018-08-01 16:30:44 +02:00
|
|
|
= note: `-D clippy::missing-docs-in-private-items` implied by `-D warnings`
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: missing documentation for a type alias
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:39:1
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
39 | pub type PubTypedef = String;
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:41:1
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
41 | / struct Foo {
|
|
|
|
42 | | a: isize,
|
|
|
|
43 | | b: isize,
|
|
|
|
44 | | }
|
2017-04-23 15:25:22 +02:00
|
|
|
| |_^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:42:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
42 | a: isize,
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:43:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
43 | b: isize,
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:46:1
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
46 | / pub struct PubFoo {
|
|
|
|
47 | | pub a: isize,
|
|
|
|
48 | | b: isize,
|
|
|
|
49 | | }
|
2017-04-23 15:25:22 +02:00
|
|
|
| |_^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:47:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
47 | pub a: isize,
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:48:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
48 | b: isize,
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a module
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:57:1
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
57 | mod module_no_dox {}
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a module
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:58:1
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
58 | pub mod pub_module_no_dox {}
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:62:1
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
62 | pub fn foo2() {}
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:63:1
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
63 | fn foo3() {}
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a trait
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:80:1
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
80 | / pub trait C {
|
|
|
|
81 | | fn foo(&self);
|
|
|
|
82 | | fn foo_with_impl(&self) {}
|
|
|
|
83 | | }
|
2017-04-23 15:25:22 +02:00
|
|
|
| |_^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: missing documentation for a trait method
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:81:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
81 | fn foo(&self);
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a trait method
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:82:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
82 | fn foo_with_impl(&self) {}
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for an associated type
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:92:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
92 | type AssociatedType;
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for an associated type
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:93:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
93 | type AssociatedTypeDef = Self;
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a method
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:104:5
|
|
|
|
|
|
|
|
|
104 | pub fn foo() {}
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: missing documentation for a method
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:105:5
|
|
|
|
|
|
|
|
|
105 | fn bar() {}
|
|
|
|
| ^^^^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: missing documentation for a method
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:109:5
|
|
|
|
|
|
|
|
|
109 | pub fn foo() {}
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: missing documentation for a method
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:112:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
112 | fn foo2() {}
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for an enum
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:138:1
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
138 | / enum Baz {
|
|
|
|
139 | | BazA {
|
|
|
|
140 | | a: isize,
|
|
|
|
141 | | b: isize
|
|
|
|
142 | | },
|
|
|
|
143 | | BarB
|
|
|
|
144 | | }
|
2017-04-23 15:25:22 +02:00
|
|
|
| |_^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: missing documentation for a variant
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:139:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
139 | / BazA {
|
|
|
|
140 | | a: isize,
|
|
|
|
141 | | b: isize
|
|
|
|
142 | | },
|
2017-04-23 15:25:22 +02:00
|
|
|
| |_____^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:140:9
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
140 | a: isize,
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:141:9
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
141 | b: isize
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a variant
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:143:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
143 | BarB
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
error: missing documentation for an enum
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:146:1
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
146 | / pub enum PubBaz {
|
|
|
|
147 | | PubBazA {
|
|
|
|
148 | | a: isize,
|
|
|
|
149 | | },
|
|
|
|
150 | | }
|
2017-04-23 15:25:22 +02:00
|
|
|
| |_^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: missing documentation for a variant
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:147:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
147 | / PubBazA {
|
|
|
|
148 | | a: isize,
|
|
|
|
149 | | },
|
2017-04-23 15:25:22 +02:00
|
|
|
| |_____^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:148:9
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
148 | a: isize,
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a constant
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:172:1
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
172 | const FOO: u32 = 0;
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a constant
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:179:1
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
179 | pub const FOO4: u32 = 0;
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a static
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:182:1
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
182 | static BAR: u32 = 0;
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a static
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:189:1
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
189 | pub static BAR4: u32 = 0;
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a module
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:192:1
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
192 | / mod internal_impl {
|
|
|
|
193 | | /// dox
|
|
|
|
194 | | pub fn documented() {}
|
|
|
|
195 | | pub fn undocumented1() {}
|
2017-04-10 15:36:07 +02:00
|
|
|
... |
|
2018-10-06 18:18:06 +02:00
|
|
|
204 | | }
|
|
|
|
205 | | }
|
2017-04-23 15:25:22 +02:00
|
|
|
| |_^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:195:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
195 | pub fn undocumented1() {}
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:196:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
196 | pub fn undocumented2() {}
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:197:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
197 | fn undocumented3() {}
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:202:9
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
202 | pub fn also_undocumented1() {}
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/missing-doc.rs:203:9
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
203 | fn also_undocumented2() {}
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2018-01-16 17:06:27 +01:00
|
|
|
error: aborting due to 39 previous errors
|
|
|
|
|