]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/check.stderr
Auto merge of #76896 - spastorino:codegen-inline-fns2, r=davidtwco,wesleywiser
[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: missing code example in this documentation
25   --> $DIR/check.rs:4:1
26    |
27 LL | / #![warn(missing_docs)]
28 LL | |
29 LL | |
30 LL | | #![warn(rustdoc)]
31 LL | |
32 LL | | pub fn foo() {}
33    | |_______________^
34    |
35 note: the lint level is defined here
36   --> $DIR/check.rs:7:9
37    |
38 LL | #![warn(rustdoc)]
39    |         ^^^^^^^
40    = note: `#[warn(missing_doc_code_examples)]` implied by `#[warn(rustdoc)]`
41
42 warning: missing code example in this documentation
43   --> $DIR/check.rs:9:1
44    |
45 LL | pub fn foo() {}
46    | ^^^^^^^^^^^^^^^
47
48 warning: 4 warnings emitted
49