mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
87a354b15d
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
19 lines
433 B
Plaintext
19 lines
433 B
Plaintext
error: documentation test in private item
|
|
--> $DIR/private-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-item-doc-test.rs:1:9
|
|
|
|
|
LL | #![deny(rustdoc::private_doc_tests)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|