about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/lint-missing-doc-code-example.stderr
blob: e02ed4a056c128503dec0c5b2af88067fe8d2eae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
error: missing code example in this documentation
  --> $DIR/lint-missing-doc-code-example.rs:19:1
   |
LL | / mod module1 {
LL | | }
   | |_^
   |
note: the lint level is defined here
  --> $DIR/lint-missing-doc-code-example.rs:2:9
   |
LL | #![deny(missing_doc_code_examples)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^

error: missing code example in this documentation
  --> $DIR/lint-missing-doc-code-example.rs:37:3
   |
LL |   /// doc
   |   ^^^^^^^

error: missing code example in this documentation
  --> $DIR/lint-missing-doc-code-example.rs:49:1
   |
LL | /// Doc
   | ^^^^^^^

error: missing code example in this documentation
  --> $DIR/lint-missing-doc-code-example.rs:56:1
   |
LL | /// Doc
   | ^^^^^^^

error: missing code example in this documentation
  --> $DIR/lint-missing-doc-code-example.rs:63:1
   |
LL | /// Doc
   | ^^^^^^^

error: aborting due to 5 previous errors