Files
rust/tests/rustdoc-ui/lints/no-crate-level-doc-lint.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
574 B
Plaintext
Raw Normal View History

2020-02-11 13:16:46 +01:00
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() {}
| |_______________^
|
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
--> $DIR/no-crate-level-doc-lint.rs:2:9
|
LL | #![deny(rustdoc::missing_crate_level_docs)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error