Files
rust/tests/rustdoc-ui/lints/no-crate-level-doc-lint.stderr
2025-10-08 11:35:20 +01:00

19 lines
574 B
Plaintext

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