warning: public documentation for `DocMe` links to private item `DontDocMe` --> $DIR/private.rs:5:11 | LL | /// docs [DontDocMe] [DontDocMe::f] | ^^^^^^^^^ this item is private | = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default = note: this link resolves only because you passed `--document-private-items`, but will break without 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