mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
19 lines
431 B
Plaintext
19 lines
431 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 previous error
|
|
|