]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/check.stderr
e6ba9df9b0555df8c4f61fd1b3acaa91805207c9
[rust.git] / src / test / rustdoc-ui / check.stderr
1 warning: missing documentation for the crate
2   --> $DIR/check.rs:4:1
3    |
4 LL | / #![warn(missing_docs)]
5 LL | |
6 LL | |
7 LL | | #![warn(rustdoc)]
8 LL | |
9 LL | | pub fn foo() {}
10    | |_______________^
11    |
12 note: the lint level is defined here
13   --> $DIR/check.rs:4:9
14    |
15 LL | #![warn(missing_docs)]
16    |         ^^^^^^^^^^^^
17
18 warning: missing documentation for a function
19   --> $DIR/check.rs:9:1
20    |
21 LL | pub fn foo() {}
22    | ^^^^^^^^^^^^
23
24 warning: no documentation found for this crate's top-level module
25    |
26 note: the lint level is defined here
27   --> $DIR/check.rs:7:9
28    |
29 LL | #![warn(rustdoc)]
30    |         ^^^^^^^
31    = note: `#[warn(rustdoc::missing_crate_level_docs)]` implied by `#[warn(rustdoc)]`
32    = help: The following guide may be of use:
33            https://doc.rust-lang.org/nightly/rustdoc/how-to-write-documentation.html
34
35 warning: missing code example in this documentation
36   --> $DIR/check.rs:4:1
37    |
38 LL | / #![warn(missing_docs)]
39 LL | |
40 LL | |
41 LL | | #![warn(rustdoc)]
42 LL | |
43 LL | | pub fn foo() {}
44    | |_______________^
45    |
46 note: the lint level is defined here
47   --> $DIR/check.rs:7:9
48    |
49 LL | #![warn(rustdoc)]
50    |         ^^^^^^^
51    = note: `#[warn(rustdoc::missing_doc_code_examples)]` implied by `#[warn(rustdoc)]`
52
53 warning: missing code example in this documentation
54   --> $DIR/check.rs:9:1
55    |
56 LL | pub fn foo() {}
57    | ^^^^^^^^^^^^^^^
58
59 warning: 5 warnings emitted
60