]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/lint-missing-doc-code-example.stderr
Auto merge of #95031 - compiler-errors:param-env-cache, r=Aaron1011
[rust.git] / src / test / rustdoc-ui / lint-missing-doc-code-example.stderr
1 error: missing code example in this documentation
2   --> $DIR/lint-missing-doc-code-example.rs:19:1
3    |
4 LL | / pub mod module1 {
5 LL | | }
6    | |_^
7    |
8 note: the lint level is defined here
9   --> $DIR/lint-missing-doc-code-example.rs:2:9
10    |
11 LL | #![deny(rustdoc::missing_doc_code_examples)]
12    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13
14 error: missing code example in this documentation
15   --> $DIR/lint-missing-doc-code-example.rs:37:3
16    |
17 LL |   /// doc
18    |   ^^^^^^^
19
20 error: missing code example in this documentation
21   --> $DIR/lint-missing-doc-code-example.rs:49:1
22    |
23 LL | /// Doc
24    | ^^^^^^^
25
26 error: missing code example in this documentation
27   --> $DIR/lint-missing-doc-code-example.rs:56:1
28    |
29 LL | /// Doc
30    | ^^^^^^^
31
32 error: missing code example in this documentation
33   --> $DIR/lint-missing-doc-code-example.rs:63:1
34    |
35 LL | /// Doc
36    | ^^^^^^^
37
38 error: aborting due to 5 previous errors
39