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

22 lines
496 B
Text
Raw Normal View History

2019-11-24 18:42:22 -08:00
error: missing code example in this documentation
2019-05-17 13:39:20 +02:00
--> $DIR/lint-missing-doc-code-example.rs:19:1
|
LL | / mod module1 {
LL | | }
| |_^
|
2020-01-22 23:57:38 +00:00
note: the lint level is defined here
2019-05-17 13:39:20 +02:00
--> $DIR/lint-missing-doc-code-example.rs:2:9
|
LL | #![deny(missing_doc_code_examples)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
2019-11-24 18:42:22 -08:00
error: missing code example in this documentation
2019-05-17 13:39:20 +02:00
--> $DIR/lint-missing-doc-code-example.rs:37:3
|
LL | /// doc
| ^^^^^^^
error: aborting due to 2 previous errors