1 warning: missing documentation for the crate
4 LL | / #![feature(rustdoc_missing_doc_code_examples)]
10 LL | | pub fn foo() {}
13 note: the lint level is defined here
16 LL | #![warn(missing_docs)]
19 warning: missing documentation for a function
20 --> $DIR/check.rs:12:1
25 warning: no documentation found for this crate's top-level module
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
32 LL | #![warn(rustdoc::all)]
34 = note: `#[warn(rustdoc::missing_crate_level_docs)]` implied by `#[warn(rustdoc::all)]`
36 warning: missing code example in this documentation
39 LL | / #![feature(rustdoc_missing_doc_code_examples)]
45 LL | | pub fn foo() {}
48 = note: `#[warn(rustdoc::missing_doc_code_examples)]` implied by `#[warn(rustdoc::all)]`
50 warning: missing code example in this documentation
51 --> $DIR/check.rs:12:1
56 warning: 5 warnings emitted