fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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