2020-07-11 19:39:02 +02:00
|
|
|
warning: public documentation for `DocMe` links to private item `DontDocMe`
|
2020-11-28 21:10:37 -05:00
|
|
|
--> $DIR/private.rs:5:11
|
2020-07-11 19:39:02 +02:00
|
|
|
|
|
2021-02-11 19:15:16 -05:00
|
|
|
LL | /// docs [DontDocMe] [DontDocMe::f]
|
2020-07-11 19:39:02 +02:00
|
|
|
| ^^^^^^^^^ this item is private
|
|
|
|
|
|
2020-09-26 21:27:55 -04:00
|
|
|
= note: `#[warn(private_intra_doc_links)]` on by default
|
2020-07-22 19:53:43 +02:00
|
|
|
= note: this link resolves only because you passed `--document-private-items`, but will break without
|
2020-07-11 19:39:02 +02:00
|
|
|
|
2021-02-11 19:15:16 -05: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 19:39:02 +02:00
|
|
|
|