fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error: missing code example in this documentation 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 | |_^ 12 | 13note: the lint level is defined here 14 --> $DIR/doc-without-codeblock.rs:1:9 15 | 16LL | #![deny(missing_doc_code_examples)] 17 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 18 19error: missing code example in this documentation 20 --> $DIR/doc-without-codeblock.rs:3:1 21 | 22LL | /// Some docs. 23 | ^^^^^^^^^^^^^^ 24 25error: missing code example in this documentation 26 --> $DIR/doc-without-codeblock.rs:7:1 27 | 28LL | /// And then, the princess died. 29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 30 31error: missing code example in this documentation 32 --> $DIR/doc-without-codeblock.rs:10:5 33 | 34LL | /// Or maybe not because she saved herself! 35 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36 37error: aborting due to 4 previous errors 38