2020-02-11 13:16:46 +01:00
|
|
|
error: no documentation found for this crate's top-level module
|
2025-10-08 09:45:10 +01:00
|
|
|
--> $DIR/no-crate-level-doc-lint.rs:2:1
|
|
|
|
|
|
|
|
|
|
|
LL | / #![deny(rustdoc::missing_crate_level_docs)]
|
|
|
|
|
... |
|
|
|
|
|
LL | | pub fn foo() {}
|
|
|
|
|
| |_______________^
|
2019-12-01 20:12:49 +01:00
|
|
|
|
|
2022-09-23 22:34:34 +04:00
|
|
|
= help: The following guide may be of use:
|
|
|
|
|
https://doc.rust-lang.org/$CHANNEL/rustdoc/how-to-write-documentation.html
|
2020-02-11 13:16:46 +01:00
|
|
|
note: the lint level is defined here
|
2025-03-29 02:41:32 +03:00
|
|
|
--> $DIR/no-crate-level-doc-lint.rs:2:9
|
2019-12-01 20:12:49 +01:00
|
|
|
|
|
2021-01-18 01:14:01 -05:00
|
|
|
LL | #![deny(rustdoc::missing_crate_level_docs)]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2019-12-01 20:12:49 +01:00
|
|
|
|
2023-11-21 16:44:51 +00:00
|
|
|
error: aborting due to 1 previous error
|
2019-12-01 20:12:49 +01:00
|
|
|
|