summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-ui/intra-doc/private.private.stderr
blob: 392321f9c60db4a72557f146adf8a2ae3381014c (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 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:7:23
   |
LL | /// docs [DontDocMe] [DontDocMe::f] [DontDocMe::x]
   |                       ^^^^^^^^^^^^ this item is private
   |
   = 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::x`
  --> $DIR/private.rs:7:38
   |
LL | /// docs [DontDocMe] [DontDocMe::f] [DontDocMe::x]
   |                                      ^^^^^^^^^^^^ this item is private
   |
   = note: this link resolves only because you passed `--document-private-items`, but will break without

warning: 3 warnings emitted