mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-23 20:34:06 +00:00
19 lines
445 B
Plaintext
19 lines
445 B
Plaintext
![]() |
error: documentation test in private item
|
||
|
--> $DIR/private-public-item-doc-test.rs:4:5
|
||
|
|
|
||
|
LL | / /// private doc test
|
||
|
LL | | ///
|
||
|
LL | | /// ```
|
||
|
LL | | /// assert!(false);
|
||
|
LL | | /// ```
|
||
|
| |___________^
|
||
|
|
|
||
|
note: the lint level is defined here
|
||
|
--> $DIR/private-public-item-doc-test.rs:1:9
|
||
|
|
|
||
|
LL | #![deny(rustdoc::private_doc_tests)]
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|