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