mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
warning: public documentation for `DocMe` links to private item `DontDocMe`
|
|
--> $DIR/private.rs:7:11
|
|
|
|
|
LL | /// docs [DontDocMe] [DontDocMe::f] [DontDocMe::x]
|
|
| ^^^^^^^^^ this item is private
|
|
|
|
|
= note: this link will resolve properly if you pass `--document-private-items`
|
|
= note: `#[warn(rustdoc::private_intra_doc_links)]` on by default
|
|
|
|
warning: public documentation for `DocMe` links to private item `DontDocMe::f`
|
|
--> $DIR/private.rs:7:23
|
|
|
|
|
LL | /// docs [DontDocMe] [DontDocMe::f] [DontDocMe::x]
|
|
| ^^^^^^^^^^^^ this item is private
|
|
|
|
|
= note: this link will resolve properly if you pass `--document-private-items`
|
|
|
|
warning: public documentation for `DocMe` links to private item `DontDocMe::x`
|
|
--> $DIR/private.rs:7:38
|
|
|
|
|
LL | /// docs [DontDocMe] [DontDocMe::f] [DontDocMe::x]
|
|
| ^^^^^^^^^^^^ this item is private
|
|
|
|
|
= note: this link will resolve properly if you pass `--document-private-items`
|
|
|
|
warning: 3 warnings emitted
|
|
|