rust/tests/rustdoc-ui/lints/doc-without-codeblock.stderr

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

21 lines
566 B
Text
Raw Normal View History

2019-11-24 18:42:22 -08:00
error: missing code example in this documentation
--> $DIR/doc-without-codeblock.rs:10:5
2019-05-17 13:39:20 +02:00
|
LL | /// Or maybe not because she saved herself!
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-10-09 16:46:29 +02:00
|
2020-01-22 23:57:38 +00:00
note: the lint level is defined here
--> $DIR/doc-without-codeblock.rs:2:9
2018-10-09 16:46:29 +02:00
|
LL | #![deny(rustdoc::missing_doc_code_examples)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-10-09 16:46:29 +02:00
2020-11-21 11:08:58 -05:00
error: missing code example in this documentation
--> $DIR/doc-without-codeblock.rs:4:1
2020-11-21 11:08:58 -05:00
|
LL | /// Some docs.
| ^^^^^^^^^^^^^^
error: aborting due to 2 previous errors