1error: missing code example in this documentation 2 --> $DIR/lint-missing-doc-code-example.rs:20:1 3 | 4LL | pub mod module1 { 5 | ^^^^^^^^^^^^^^^ 6 | 7note: the lint level is defined here 8 --> $DIR/lint-missing-doc-code-example.rs:3:9 9 | 10LL | #![deny(rustdoc::missing_doc_code_examples)] 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 13error: missing code example in this documentation 14 --> $DIR/lint-missing-doc-code-example.rs:38:3 15 | 16LL | /// doc 17 | ^^^^^^^ 18 19error: missing code example in this documentation 20 --> $DIR/lint-missing-doc-code-example.rs:50:1 21 | 22LL | /// Doc 23 | ^^^^^^^ 24 25error: missing code example in this documentation 26 --> $DIR/lint-missing-doc-code-example.rs:57:1 27 | 28LL | /// Doc 29 | ^^^^^^^ 30 31error: missing code example in this documentation 32 --> $DIR/lint-missing-doc-code-example.rs:64:1 33 | 34LL | /// Doc 35 | ^^^^^^^ 36 37error: aborting due to 5 previous errors 38 39