1 error: missing code example in this documentation
2 --> $DIR/doc-without-codeblock.rs:1:1
4 LL | / #![deny(rustdoc::missing_doc_code_examples)]
13 note: the lint level is defined here
14 --> $DIR/doc-without-codeblock.rs:1:9
16 LL | #![deny(rustdoc::missing_doc_code_examples)]
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19 error: missing code example in this documentation
20 --> $DIR/doc-without-codeblock.rs:7:1
22 LL | /// And then, the princess died.
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25 error: missing code example in this documentation
26 --> $DIR/doc-without-codeblock.rs:10:5
28 LL | /// Or maybe not because she saved herself!
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
31 error: missing code example in this documentation
32 --> $DIR/doc-without-codeblock.rs:3:1
37 error: aborting due to 4 previous errors