]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc-ui/intra-doc/private.private.stderr
New upstream version 1.53.0+dfsg1
[rustc.git] / src / test / rustdoc-ui / intra-doc / private.private.stderr
1 warning: public documentation for `DocMe` links to private item `DontDocMe`
2 --> $DIR/private.rs:7:11
3 |
4 LL | /// docs [DontDocMe] [DontDocMe::f] [DontDocMe::x]
5 | ^^^^^^^^^ this item is private
6 |
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
9
10 warning: public documentation for `DocMe` links to private item `DontDocMe::f`
11 --> $DIR/private.rs:7:23
12 |
13 LL | /// docs [DontDocMe] [DontDocMe::f] [DontDocMe::x]
14 | ^^^^^^^^^^^^ this item is private
15 |
16 = note: this link resolves only because you passed `--document-private-items`, but will break without
17
18 warning: public documentation for `DocMe` links to private item `DontDocMe::x`
19 --> $DIR/private.rs:7:38
20 |
21 LL | /// docs [DontDocMe] [DontDocMe::f] [DontDocMe::x]
22 | ^^^^^^^^^^^^ this item is private
23 |
24 = note: this link resolves only because you passed `--document-private-items`, but will break without
25
26 warning: 3 warnings emitted
27