mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
87a354b15d
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
19 lines
447 B
Plaintext
19 lines
447 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 1 previous error
|
|
|