| error: no documentation found for this crate's top-level module |
| --> $DIR/no-crate-level-doc-lint.rs:2:1 |
| | |
| LL | / #![deny(rustdoc::missing_crate_level_docs)] |
| ... | |
| LL | | pub fn foo() {} |
| | |_______________^ |
| | |
| = help: The following guide may be of use: |
| https://doc.rust-lang.org/$CHANNEL/rustdoc/how-to-write-documentation.html |
| note: the lint level is defined here |
| --> $DIR/no-crate-level-doc-lint.rs:2:9 |
| | |
| LL | #![deny(rustdoc::missing_crate_level_docs)] |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| |
| error: aborting due to 1 previous error |
| |