2017-02-07 14:05:30 -06:00
|
|
|
error: missing documentation for a type alias
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:28:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
28 | type Typedef = String;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
= note: `-D clippy::missing-docs-in-private-items` implied by `-D warnings`
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a type alias
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:29:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
29 | pub type PubTypedef = String;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:31:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
31 | / struct Foo {
|
|
|
|
32 | | a: isize,
|
|
|
|
33 | | b: isize,
|
|
|
|
34 | | }
|
2017-04-23 08:25:22 -05:00
|
|
|
| |_^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:32:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
32 | a: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:33:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
33 | b: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:36:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
36 | / pub struct PubFoo {
|
|
|
|
37 | | pub a: isize,
|
|
|
|
38 | | b: isize,
|
|
|
|
39 | | }
|
2017-04-23 08:25:22 -05:00
|
|
|
| |_^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:37:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
37 | pub a: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:38:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
38 | b: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a module
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:47:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
47 | mod module_no_dox {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a module
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:48:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
48 | pub mod pub_module_no_dox {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:52:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
52 | pub fn foo2() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:53:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
53 | fn foo3() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a trait
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:70:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
70 | / pub trait C {
|
|
|
|
71 | | fn foo(&self);
|
|
|
|
72 | | fn foo_with_impl(&self) {}
|
|
|
|
73 | | }
|
2017-04-23 08:25:22 -05:00
|
|
|
| |_^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a trait method
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:71:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
71 | fn foo(&self);
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a trait method
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:72:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
72 | fn foo_with_impl(&self) {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for an associated type
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:82:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
82 | type AssociatedType;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for an associated type
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:83:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
83 | type AssociatedTypeDef = Self;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a method
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:94:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
94 | pub fn foo() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a method
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:95:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
95 | fn bar() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a method
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:99:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
99 | pub fn foo() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a method
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:102:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
102 | fn foo2() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for an enum
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:128:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
128 | / enum Baz {
|
|
|
|
129 | | BazA {
|
|
|
|
130 | | a: isize,
|
|
|
|
131 | | b: isize
|
|
|
|
132 | | },
|
|
|
|
133 | | BarB
|
|
|
|
134 | | }
|
2017-04-23 08:25:22 -05:00
|
|
|
| |_^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a variant
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:129:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
129 | / BazA {
|
|
|
|
130 | | a: isize,
|
|
|
|
131 | | b: isize
|
|
|
|
132 | | },
|
2017-04-23 08:25:22 -05:00
|
|
|
| |_____^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:130:9
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
130 | a: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:131:9
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
131 | b: isize
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a variant
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:133:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
133 | BarB
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
error: missing documentation for an enum
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:136:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
136 | / pub enum PubBaz {
|
|
|
|
137 | | PubBazA {
|
|
|
|
138 | | a: isize,
|
|
|
|
139 | | },
|
|
|
|
140 | | }
|
2017-04-23 08:25:22 -05:00
|
|
|
| |_^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a variant
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:137:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
137 | / PubBazA {
|
|
|
|
138 | | a: isize,
|
|
|
|
139 | | },
|
2017-04-23 08:25:22 -05:00
|
|
|
| |_____^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:138:9
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
138 | a: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a constant
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:162:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
162 | const FOO: u32 = 0;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a constant
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:169:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
169 | pub const FOO4: u32 = 0;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a static
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:172:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
172 | static BAR: u32 = 0;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a static
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:179:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
179 | pub static BAR4: u32 = 0;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a module
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:182:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
182 | / mod internal_impl {
|
|
|
|
183 | | /// dox
|
|
|
|
184 | | pub fn documented() {}
|
|
|
|
185 | | pub fn undocumented1() {}
|
2017-04-10 08:36:07 -05:00
|
|
|
... |
|
2018-08-01 09:30:44 -05:00
|
|
|
194 | | }
|
|
|
|
195 | | }
|
2017-04-23 08:25:22 -05:00
|
|
|
| |_^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:185:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
185 | pub fn undocumented1() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:186:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
186 | pub fn undocumented2() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:187:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
187 | fn undocumented3() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:192:9
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
192 | pub fn also_undocumented1() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing-doc.rs:193:9
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
193 | fn also_undocumented2() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2018-01-16 10:06:27 -06:00
|
|
|
error: aborting due to 39 previous errors
|
|
|
|
|