2017-02-07 14:05:30 -06:00
|
|
|
error: missing documentation for a type alias
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:26:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
26 | type Typedef = String;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 07:19:44 -05:00
|
|
|
= note: `-D missing-docs-in-private-items` implied by `-D warnings`
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a type alias
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:27:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
27 | pub type PubTypedef = String;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:29:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-04-23 08:25:22 -05:00
|
|
|
29 | / struct Foo {
|
2017-02-08 07:58:07 -06:00
|
|
|
30 | | a: isize,
|
|
|
|
31 | | b: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
32 | | }
|
2017-04-23 08:25:22 -05:00
|
|
|
| |_^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:30:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
30 | a: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:31:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
31 | b: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:34:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-04-23 08:25:22 -05:00
|
|
|
34 | / pub struct PubFoo {
|
2017-02-08 07:58:07 -06:00
|
|
|
35 | | pub a: isize,
|
|
|
|
36 | | b: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
37 | | }
|
2017-04-23 08:25:22 -05:00
|
|
|
| |_^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:35:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
35 | pub a: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:36:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
36 | b: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a module
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:45:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
45 | mod module_no_dox {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a module
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:46:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
46 | pub mod pub_module_no_dox {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:50:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
50 | pub fn foo2() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:51:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
51 | fn foo3() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a trait
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:68:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-04-23 08:25:22 -05:00
|
|
|
68 | / pub trait C {
|
2017-02-08 07:58:07 -06:00
|
|
|
69 | | fn foo(&self);
|
|
|
|
70 | | fn foo_with_impl(&self) {}
|
2017-02-07 14:05:30 -06:00
|
|
|
71 | | }
|
2017-04-23 08:25:22 -05:00
|
|
|
| |_^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a trait method
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:69:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
69 | fn foo(&self);
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a trait method
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:70:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
70 | fn foo_with_impl(&self) {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for an associated type
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:80:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
80 | type AssociatedType;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for an associated type
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:81:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
81 | type AssociatedTypeDef = Self;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a method
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:92:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
92 | pub fn foo() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a method
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:93:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
93 | fn bar() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a method
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:97:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
97 | pub fn foo() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a method
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:100:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
100 | fn foo2() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for an enum
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:126:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-04-23 08:25:22 -05:00
|
|
|
126 | / enum Baz {
|
2017-02-08 07:58:07 -06:00
|
|
|
127 | | BazA {
|
|
|
|
128 | | a: isize,
|
|
|
|
129 | | b: isize
|
2017-02-07 14:05:30 -06:00
|
|
|
130 | | },
|
2017-02-08 07:58:07 -06:00
|
|
|
131 | | BarB
|
2017-02-07 14:05:30 -06:00
|
|
|
132 | | }
|
2017-04-23 08:25:22 -05:00
|
|
|
| |_^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a variant
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:127:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-04-23 08:25:22 -05:00
|
|
|
127 | / BazA {
|
2017-02-08 07:58:07 -06:00
|
|
|
128 | | a: isize,
|
|
|
|
129 | | b: isize
|
2017-02-07 14:05:30 -06:00
|
|
|
130 | | },
|
2017-04-23 08:25:22 -05:00
|
|
|
| |_____^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:128:9
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
128 | a: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:129:9
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
129 | b: isize
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a variant
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:131:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
131 | BarB
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
error: missing documentation for an enum
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:134:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-04-23 08:25:22 -05:00
|
|
|
134 | / pub enum PubBaz {
|
2017-02-08 07:58:07 -06:00
|
|
|
135 | | PubBazA {
|
|
|
|
136 | | a: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
137 | | },
|
|
|
|
138 | | }
|
2017-04-23 08:25:22 -05:00
|
|
|
| |_^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a variant
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:135:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-04-23 08:25:22 -05:00
|
|
|
135 | / PubBazA {
|
2017-02-08 07:58:07 -06:00
|
|
|
136 | | a: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
137 | | },
|
2017-04-23 08:25:22 -05:00
|
|
|
| |_____^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:136:9
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
136 | a: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a constant
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:160:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
160 | const FOO: u32 = 0;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a constant
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:167:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
167 | pub const FOO4: u32 = 0;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a static
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:170:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
170 | static BAR: u32 = 0;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a static
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:177:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
177 | pub static BAR4: u32 = 0;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a module
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:180:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-04-23 08:25:22 -05:00
|
|
|
180 | / mod internal_impl {
|
2017-04-10 08:36:07 -05:00
|
|
|
181 | | /// dox
|
|
|
|
182 | | pub fn documented() {}
|
|
|
|
183 | | pub fn undocumented1() {}
|
|
|
|
... |
|
|
|
|
192 | | }
|
|
|
|
193 | | }
|
2017-04-23 08:25:22 -05:00
|
|
|
| |_^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a function
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:183:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
183 | pub fn undocumented1() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:184:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
184 | pub fn undocumented2() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:185:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
185 | fn undocumented3() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:190:9
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
190 | pub fn also_undocumented1() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:191:9
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
191 | fn also_undocumented2() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/missing-doc.rs:202:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
202 | fn main() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
2017-07-02 23:37:30 -05:00
|
|
|
error: aborting due to 40 previous errors
|
2017-02-07 14:05:30 -06:00
|
|
|
|