2017-02-07 20:05:30 +00:00
|
|
|
error: missing documentation for a type alias
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:10:1
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | type Typedef = String;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2018-08-01 14:30:44 +00:00
|
|
|
= note: `-D clippy::missing-docs-in-private-items` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: missing documentation for a type alias
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:11:1
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | pub type PubTypedef = String;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a module
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:13:1
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | mod module_no_dox {}
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a module
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:14:1
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | pub mod pub_module_no_dox {}
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:18:1
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | pub fn foo2() {}
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a function
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:19:1
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | fn foo3() {}
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for an enum
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:33:1
|
2018-12-27 15:57:55 +00:00
|
|
|
|
|
|
|
|
LL | / enum Baz {
|
|
|
|
LL | | BazA { a: isize, b: isize },
|
|
|
|
LL | | BarB,
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: missing documentation for a variant
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:34:5
|
2018-12-27 15:57:55 +00:00
|
|
|
|
|
|
|
|
LL | BazA { a: isize, b: isize },
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:34:12
|
2018-12-27 15:57:55 +00:00
|
|
|
|
|
|
|
|
LL | BazA { a: isize, b: isize },
|
|
|
|
| ^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:34:22
|
2018-12-27 15:57:55 +00:00
|
|
|
|
|
|
|
|
LL | BazA { a: isize, b: isize },
|
|
|
|
| ^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: missing documentation for a variant
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:35:5
|
2018-12-27 15:57:55 +00:00
|
|
|
|
|
|
|
|
LL | BarB,
|
|
|
|
| ^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: missing documentation for an enum
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:38:1
|
2018-12-27 15:57:55 +00:00
|
|
|
|
|
|
|
|
LL | / pub enum PubBaz {
|
|
|
|
LL | | PubBazA { a: isize },
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: missing documentation for a variant
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:39:5
|
2018-12-27 15:57:55 +00:00
|
|
|
|
|
|
|
|
LL | PubBazA { a: isize },
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:39:15
|
2018-12-27 15:57:55 +00:00
|
|
|
|
|
|
|
|
LL | PubBazA { a: isize },
|
|
|
|
| ^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: missing documentation for a constant
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:59:1
|
2018-12-27 15:57:55 +00:00
|
|
|
|
|
|
|
|
LL | const FOO: u32 = 0;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: missing documentation for a constant
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:66:1
|
2018-12-27 15:57:55 +00:00
|
|
|
|
|
|
|
|
LL | pub const FOO4: u32 = 0;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: missing documentation for a static
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:68:1
|
2018-12-27 15:57:55 +00:00
|
|
|
|
|
|
|
|
LL | static BAR: u32 = 0;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: missing documentation for a static
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:75:1
|
2018-12-27 15:57:55 +00:00
|
|
|
|
|
|
|
|
LL | pub static BAR4: u32 = 0;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: missing documentation for a module
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:77:1
|
2018-12-27 15:57:55 +00:00
|
|
|
|
|
|
|
|
LL | / mod internal_impl {
|
|
|
|
LL | | /// dox
|
|
|
|
LL | | pub fn documented() {}
|
|
|
|
LL | | pub fn undocumented1() {}
|
|
|
|
... |
|
|
|
|
LL | | }
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: missing documentation for a function
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:80:5
|
2018-12-27 15:57:55 +00:00
|
|
|
|
|
|
|
|
LL | pub fn undocumented1() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: missing documentation for a function
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:81:5
|
2018-12-27 15:57:55 +00:00
|
|
|
|
|
|
|
|
LL | pub fn undocumented2() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: missing documentation for a function
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:82:5
|
2018-12-27 15:57:55 +00:00
|
|
|
|
|
|
|
|
LL | fn undocumented3() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: missing documentation for a function
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:87:9
|
2018-12-27 15:57:55 +00:00
|
|
|
|
|
|
|
|
LL | pub fn also_undocumented1() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: missing documentation for a function
|
2021-12-13 00:00:51 +00:00
|
|
|
--> $DIR/missing-doc.rs:88:9
|
2018-12-27 15:57:55 +00:00
|
|
|
|
|
|
|
|
LL | fn also_undocumented2() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
2020-01-09 00:04:53 +00:00
|
|
|
error: aborting due to 24 previous errors
|
2018-01-16 16:06:27 +00:00
|
|
|
|