summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-ui/intra-doc/private.public.stderr
blob: 5d1c34b9168d9368bf0d643f407716c0abf59947 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
warning: public documentation for `DocMe` links to private item `DontDocMe`
  --> $DIR/private.rs:7:11
   |
LL | /// docs [DontDocMe] [DontDocMe::f] [DontDocMe::x]
   |           ^^^^^^^^^ this item is private
   |
   = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default
   = note: this link will resolve properly if you pass `--document-private-items`

warning: public documentation for `DocMe` links to private item `DontDocMe::f`
  --> $DIR/private.rs:7:23
   |
LL | /// docs [DontDocMe] [DontDocMe::f] [DontDocMe::x]
   |                       ^^^^^^^^^^^^ this item is private
   |
   = note: this link will resolve properly if you pass `--document-private-items`

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 will resolve properly if you pass `--document-private-items`

warning: 3 warnings emitted