2017-02-07 14:05:30 -06:00
|
|
|
error: missing documentation for a type alias
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/missing-doc.rs:32:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | 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-12-09 23:27:19 -06:00
|
|
|
--> $DIR/missing-doc.rs:33:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | pub type PubTypedef = String;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/missing-doc.rs:35:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | / struct Foo {
|
|
|
|
LL | | a: isize,
|
|
|
|
LL | | b: isize,
|
|
|
|
LL | | }
|
2017-04-23 08:25:22 -05:00
|
|
|
| |_^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/missing-doc.rs:36:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | a: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/missing-doc.rs:37:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | b: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/missing-doc.rs:40:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | / pub struct PubFoo {
|
|
|
|
LL | | pub a: isize,
|
|
|
|
LL | | b: isize,
|
|
|
|
LL | | }
|
2017-04-23 08:25:22 -05:00
|
|
|
| |_^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/missing-doc.rs:41:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | pub a: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/missing-doc.rs:42:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | b: isize,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a module
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/missing-doc.rs:51:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | mod module_no_dox {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a module
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/missing-doc.rs:52:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | pub mod pub_module_no_dox {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/missing-doc.rs:56:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | pub fn foo2() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/missing-doc.rs:57:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | fn foo3() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a trait
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/missing-doc.rs:75:1
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | / pub trait C {
|
|
|
|
LL | | fn foo(&self);
|
|
|
|
LL | | fn foo_with_impl(&self) {}
|
|
|
|
LL | | }
|
2017-04-23 08:25:22 -05:00
|
|
|
| |_^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a trait method
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/missing-doc.rs:76:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | fn foo(&self);
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a trait method
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/missing-doc.rs:77:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | fn foo_with_impl(&self) {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for an associated type
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/missing-doc.rs:87:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | type AssociatedType;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for an associated type
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/missing-doc.rs:88:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | type AssociatedTypeDef = Self;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a method
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/missing-doc.rs:99:5
|
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | pub fn foo() {}
|
2018-12-09 23:27:19 -06:00
|
|
|
| ^^^^^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a method
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:100:5
|
|
|
|
|
|
|
|
|
LL | fn bar() {}
|
|
|
|
| ^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a method
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:104:5
|
|
|
|
|
|
|
|
|
LL | pub fn foo() {}
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a method
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:107:5
|
|
|
|
|
|
|
|
|
LL | fn foo2() {}
|
|
|
|
| ^^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for an enum
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:134:1
|
|
|
|
|
|
|
|
|
LL | / enum Baz {
|
|
|
|
LL | | BazA { a: isize, b: isize },
|
|
|
|
LL | | BarB,
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a variant
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:135:5
|
|
|
|
|
|
|
|
|
LL | BazA { a: isize, b: isize },
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:135:12
|
|
|
|
|
|
|
|
|
LL | BazA { a: isize, b: isize },
|
|
|
|
| ^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:135:22
|
|
|
|
|
|
|
|
|
LL | BazA { a: isize, b: isize },
|
|
|
|
| ^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a variant
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:136:5
|
|
|
|
|
|
|
|
|
LL | BarB,
|
|
|
|
| ^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for an enum
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:139:1
|
|
|
|
|
|
|
|
|
LL | / pub enum PubBaz {
|
|
|
|
LL | | PubBazA { a: isize },
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a variant
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:140:5
|
|
|
|
|
|
|
|
|
LL | PubBazA { a: isize },
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:140:15
|
|
|
|
|
|
|
|
|
LL | PubBazA { a: isize },
|
|
|
|
| ^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a constant
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:160:1
|
|
|
|
|
|
|
|
|
LL | const FOO: u32 = 0;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a constant
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:167:1
|
|
|
|
|
|
|
|
|
LL | pub const FOO4: u32 = 0;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a static
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:169:1
|
|
|
|
|
|
|
|
|
LL | static BAR: u32 = 0;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a static
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:176:1
|
|
|
|
|
|
|
|
|
LL | pub static BAR4: u32 = 0;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a module
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:178:1
|
|
|
|
|
|
|
|
|
LL | / mod internal_impl {
|
|
|
|
LL | | /// dox
|
|
|
|
LL | | pub fn documented() {}
|
|
|
|
LL | | pub fn undocumented1() {}
|
|
|
|
... |
|
|
|
|
LL | | }
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:181:5
|
|
|
|
|
|
|
|
|
LL | pub fn undocumented1() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:182:5
|
|
|
|
|
|
|
|
|
LL | pub fn undocumented2() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:183:5
|
|
|
|
|
|
|
|
|
LL | fn undocumented3() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:188:9
|
|
|
|
|
|
|
|
|
LL | pub fn also_undocumented1() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a function
|
2018-12-27 09:57:55 -06:00
|
|
|
--> $DIR/missing-doc.rs:189:9
|
|
|
|
|
|
|
|
|
LL | 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
|
|
|
|
|