rust/tests/rustdoc-ui/doctest/private-item-doc-test.stderr

19 lines
433 B
Plaintext
Raw Normal View History

2019-11-24 20:42:22 -06:00
error: documentation test in private item
2018-12-25 09:56:47 -06:00
--> $DIR/private-item-doc-test.rs:4:5
2018-10-25 17:55:12 -05:00
|
LL | / /// private doc test
LL | | ///
LL | | /// ```
LL | | /// assert!(false);
LL | | /// ```
| |___________^
|
2020-01-22 17:57:38 -06:00
note: the lint level is defined here
2018-12-25 09:56:47 -06:00
--> $DIR/private-item-doc-test.rs:1:9
2018-10-25 17:55:12 -05:00
|
LL | #![deny(rustdoc::private_doc_tests)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-10-25 17:55:12 -05:00
error: aborting due to 1 previous error