1 warning: missing documentation for the crate
4 LL | / #![warn(missing_docs)]
7 LL | | #![warn(rustdoc::all)]
12 note: the lint level is defined here
15 LL | #![warn(missing_docs)]
18 warning: missing documentation for a function
19 --> $DIR/check.rs:10:1
24 warning: no documentation found for this crate's top-level module
26 note: the lint level is defined here
29 LL | #![warn(rustdoc::all)]
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
35 warning: missing code example in this documentation
38 LL | / #![warn(missing_docs)]
41 LL | | #![warn(rustdoc::all)]
43 LL | | pub fn foo() {}
46 note: the lint level is defined here
49 LL | #![warn(rustdoc::all)]
51 = note: `#[warn(rustdoc::missing_doc_code_examples)]` implied by `#[warn(rustdoc::all)]`
53 warning: missing code example in this documentation
54 --> $DIR/check.rs:10:1
59 warning: 5 warnings emitted