rust/tests/rustdoc-ui/lint-missing-doc-code-example.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
912 B
Plaintext
Raw Normal View History

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