]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/check.stderr
Rollup merge of #100366 - davidtwco:translation-never-fail, r=compiler-errors
[rust.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: `#[warn(rustdoc::missing_doc_code_examples)]` implied by `#[warn(rustdoc::all)]`
47
48 warning: missing code example in this documentation
49   --> $DIR/check.rs:10:1
50    |
51 LL | pub fn foo() {}
52    | ^^^^^^^^^^^^^^^
53
54 warning: 5 warnings emitted
55