1 warning: public documentation for `DocMe` links to private item `DontDocMe`
2 --> $DIR/private.rs:5:11
4 LL | /// docs [DontDocMe] [DontDocMe::f]
5 | ^^^^^^^^^ this item is private
7 = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default
8 = note: this link resolves only because you passed `--document-private-items`, but will break without
10 warning: public documentation for `DocMe` links to private item `DontDocMe::f`
11 --> $DIR/private.rs:5:23
13 LL | /// docs [DontDocMe] [DontDocMe::f]
14 | ^^^^^^^^^^^^ this item is private
16 = note: this link resolves only because you passed `--document-private-items`, but will break without
18 warning: 2 warnings emitted