2017-02-07 14:05:30 -06:00
|
|
|
error: missing documentation for a type alias
|
2022-10-19 13:34:00 -05:00
|
|
|
--> $DIR/missing_doc.rs:16: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 module
|
2022-10-19 13:34:00 -05:00
|
|
|
--> $DIR/missing_doc.rs:19: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 function
|
2022-10-19 13:34:00 -05:00
|
|
|
--> $DIR/missing_doc.rs:25: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 an enum
|
2022-10-19 13:34:00 -05:00
|
|
|
--> $DIR/missing_doc.rs:39:1
|
2018-12-27 09:57:55 -06:00
|
|
|
|
|
|
|
|
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
|
2022-10-19 13:34:00 -05:00
|
|
|
--> $DIR/missing_doc.rs:40:5
|
2018-12-27 09:57:55 -06:00
|
|
|
|
|
|
|
|
LL | BazA { a: isize, b: isize },
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2022-10-19 13:34:00 -05:00
|
|
|
--> $DIR/missing_doc.rs:40:12
|
2018-12-27 09:57:55 -06:00
|
|
|
|
|
|
|
|
LL | BazA { a: isize, b: isize },
|
|
|
|
| ^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2022-10-19 13:34:00 -05:00
|
|
|
--> $DIR/missing_doc.rs:40:22
|
2018-12-27 09:57:55 -06:00
|
|
|
|
|
|
|
|
LL | BazA { a: isize, b: isize },
|
|
|
|
| ^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a variant
|
2022-10-19 13:34:00 -05:00
|
|
|
--> $DIR/missing_doc.rs:41:5
|
2018-12-27 09:57:55 -06:00
|
|
|
|
|
|
|
|
LL | BarB,
|
|
|
|
| ^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a constant
|
2022-10-19 13:34:00 -05:00
|
|
|
--> $DIR/missing_doc.rs:65:1
|
2018-12-27 09:57:55 -06:00
|
|
|
|
|
|
|
|
LL | const FOO: u32 = 0;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a static
|
2022-10-19 13:34:00 -05:00
|
|
|
--> $DIR/missing_doc.rs:74:1
|
2018-12-27 09:57:55 -06:00
|
|
|
|
|
|
|
|
LL | static BAR: u32 = 0;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a module
|
2022-10-19 13:34:00 -05:00
|
|
|
--> $DIR/missing_doc.rs:83:1
|
2018-12-27 09:57:55 -06:00
|
|
|
|
|
|
|
|
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
|
2022-10-19 13:34:00 -05:00
|
|
|
--> $DIR/missing_doc.rs:88:5
|
2018-12-27 09:57:55 -06:00
|
|
|
|
|
|
|
|
LL | fn undocumented3() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: missing documentation for a function
|
2022-10-19 13:34:00 -05:00
|
|
|
--> $DIR/missing_doc.rs:94:9
|
2018-12-27 09:57:55 -06:00
|
|
|
|
|
|
|
|
LL | fn also_undocumented2() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
2023-03-10 03:53:50 -06:00
|
|
|
error: aborting due to 13 previous errors
|
2018-01-16 10:06:27 -06:00
|
|
|
|