summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-ui/intra-doc/private.public.stderr
blob: 45b51e12edc7ec382b722955ed166791403fa887 (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: this link will resolve properly if you pass `--document-private-items`
   = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default

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