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