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