2020-07-11 12:39:02 -05:00
|
|
|
warning: public documentation for `DocMe` links to private item `DontDocMe`
|
2021-04-04 15:23:08 -05:00
|
|
|
--> $DIR/private.rs:7:11
|
2020-07-11 12:39:02 -05:00
|
|
|
|
|
2021-04-04 15:23:08 -05:00
|
|
|
LL | /// docs [DontDocMe] [DontDocMe::f] [DontDocMe::x]
|
2020-07-11 12:39:02 -05:00
|
|
|
| ^^^^^^^^^ this item is private
|
|
|
|
|
|
2020-07-22 12:53:43 -05:00
|
|
|
= note: this link resolves only because you passed `--document-private-items`, but will break without
|
2022-09-23 13:34:34 -05:00
|
|
|
= note: `#[warn(rustdoc::private_intra_doc_links)]` on by default
|
2020-07-11 12:39:02 -05:00
|
|
|
|
2021-02-11 18:15:16 -06:00
|
|
|
warning: public documentation for `DocMe` links to private item `DontDocMe::f`
|
2021-04-04 15:23:08 -05:00
|
|
|
--> $DIR/private.rs:7:23
|
2021-02-11 18:15:16 -06:00
|
|
|
|
|
2021-04-04 15:23:08 -05:00
|
|
|
LL | /// docs [DontDocMe] [DontDocMe::f] [DontDocMe::x]
|
2021-02-11 18:15:16 -06:00
|
|
|
| ^^^^^^^^^^^^ this item is private
|
|
|
|
|
|
|
|
|
= note: this link resolves only because you passed `--document-private-items`, but will break without
|
|
|
|
|
2021-04-04 15:23:08 -05:00
|
|
|
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 resolves only because you passed `--document-private-items`, but will break without
|
|
|
|
|
|
|
|
warning: 3 warnings emitted
|
2020-07-11 12:39:02 -05:00
|
|
|
|