]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc-ui/doc-without-codeblock.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / rustdoc-ui / doc-without-codeblock.stderr
CommitLineData
60c5eb7d 1error: missing code example in this documentation
48663c56
XL
2 --> $DIR/doc-without-codeblock.rs:1:1
3 |
6a06907d 4LL | / #![deny(rustdoc::missing_doc_code_examples)]
48663c56
XL
5LL | |
6LL | | /// Some docs.
7LL | |
8... |
9LL | | pub fn bar() {}
10LL | | }
11 | |_^
0bf4aa26 12 |
74b04a01 13note: the lint level is defined here
48663c56 14 --> $DIR/doc-without-codeblock.rs:1:9
0bf4aa26 15 |
6a06907d
XL
16LL | #![deny(rustdoc::missing_doc_code_examples)]
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0bf4aa26 18
60c5eb7d 19error: missing code example in this documentation
48663c56 20 --> $DIR/doc-without-codeblock.rs:7:1
0bf4aa26
XL
21 |
22LL | /// And then, the princess died.
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
60c5eb7d 25error: missing code example in this documentation
48663c56 26 --> $DIR/doc-without-codeblock.rs:10:5
0bf4aa26
XL
27 |
28LL | /// Or maybe not because she saved herself!
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30
fc512014
XL
31error: missing code example in this documentation
32 --> $DIR/doc-without-codeblock.rs:3:1
33 |
34LL | /// Some docs.
35 | ^^^^^^^^^^^^^^
36
532ac7d7
XL
37error: aborting due to 4 previous errors
38