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