2020-07-11 17:39:02 +00:00
|
|
|
warning: public documentation for `DocMe` links to private item `DontDocMe`
|
2020-11-29 02:10:37 +00:00
|
|
|
--> $DIR/private.rs:5:11
|
2020-07-11 17:39:02 +00:00
|
|
|
|
|
2021-02-12 00:15:16 +00:00
|
|
|
LL | /// docs [DontDocMe] [DontDocMe::f]
|
2020-07-11 17:39:02 +00:00
|
|
|
| ^^^^^^^^^ this item is private
|
|
|
|
|
|
2020-12-30 04:16:16 +00:00
|
|
|
= note: `#[warn(rustdoc::private_intra_doc_links)]` on by default
|
2020-07-22 17:53:43 +00:00
|
|
|
= note: this link resolves only because you passed `--document-private-items`, but will break without
|
2020-07-11 17:39:02 +00:00
|
|
|
|
2021-02-12 00:15:16 +00:00
|
|
|
warning: public documentation for `DocMe` links to private item `DontDocMe::f`
|
|
|
|
--> $DIR/private.rs:5:23
|
|
|
|
|
|
|
|
|
LL | /// docs [DontDocMe] [DontDocMe::f]
|
|
|
|
| ^^^^^^^^^^^^ this item is private
|
|
|
|
|
|
|
|
|
= note: this link resolves only because you passed `--document-private-items`, but will break without
|
|
|
|
|
|
|
|
warning: 2 warnings emitted
|
2020-07-11 17:39:02 +00:00
|
|
|
|