2019-11-24 20:42:22 -06:00
|
|
|
error: missing code example in this documentation
|
2022-09-12 13:10:35 -05:00
|
|
|
--> $DIR/lint-missing-doc-code-example.rs:20:1
|
2019-05-17 06:39:20 -05:00
|
|
|
|
|
2022-02-13 09:27:59 -06:00
|
|
|
LL | pub mod module1 {
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2019-05-17 06:39:20 -05:00
|
|
|
|
|
2020-01-22 17:57:38 -06:00
|
|
|
note: the lint level is defined here
|
2022-09-12 13:10:35 -05:00
|
|
|
--> $DIR/lint-missing-doc-code-example.rs:3:9
|
2019-05-17 06:39:20 -05:00
|
|
|
|
|
2020-12-29 22:16:16 -06:00
|
|
|
LL | #![deny(rustdoc::missing_doc_code_examples)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2019-05-17 06:39:20 -05:00
|
|
|
|
2020-08-21 11:05:51 -05:00
|
|
|
error: missing code example in this documentation
|
2022-09-12 13:10:35 -05:00
|
|
|
--> $DIR/lint-missing-doc-code-example.rs:38:3
|
2020-08-21 11:05:51 -05:00
|
|
|
|
|
2020-11-21 10:08:58 -06:00
|
|
|
LL | /// doc
|
|
|
|
| ^^^^^^^
|
2020-08-21 11:05:51 -05:00
|
|
|
|
|
|
|
error: missing code example in this documentation
|
2022-09-12 13:10:35 -05:00
|
|
|
--> $DIR/lint-missing-doc-code-example.rs:50:1
|
2020-08-21 11:05:51 -05:00
|
|
|
|
|
|
|
|
LL | /// Doc
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: missing code example in this documentation
|
2022-09-12 13:10:35 -05:00
|
|
|
--> $DIR/lint-missing-doc-code-example.rs:57:1
|
2020-08-21 11:05:51 -05:00
|
|
|
|
|
2020-11-21 10:08:58 -06:00
|
|
|
LL | /// Doc
|
|
|
|
| ^^^^^^^
|
2020-08-21 11:05:51 -05:00
|
|
|
|
2019-11-24 20:42:22 -06:00
|
|
|
error: missing code example in this documentation
|
2022-09-12 13:10:35 -05:00
|
|
|
--> $DIR/lint-missing-doc-code-example.rs:64:1
|
2019-05-17 06:39:20 -05:00
|
|
|
|
|
2020-11-21 10:08:58 -06:00
|
|
|
LL | /// Doc
|
|
|
|
| ^^^^^^^
|
2019-05-17 06:39:20 -05:00
|
|
|
|
2020-08-21 11:05:51 -05:00
|
|
|
error: aborting due to 5 previous errors
|
2019-05-17 06:39:20 -05:00
|
|
|
|