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