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