Update tests
This commit is contained in:
parent
a8b0e40487
commit
ffe1289fd2
2 changed files with 7 additions and 8 deletions
|
|
@ -1,3 +1,3 @@
|
|||
#![deny(no_crate_level_doc)]
|
||||
#![deny(missing_crate_level_doc)]
|
||||
|
||||
pub fn foo() {}
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
error: No documentation found on this crate top module.
|
||||
|
||||
Maybe you could be interested into looking at this documentation:
|
||||
https://doc.rust-lang.org/nightly/rustdoc/how-to-write-documentation.html
|
||||
error: no documentation found for this crate's top-level module
|
||||
|
|
||||
note: lint level defined here
|
||||
note: the lint level is defined here
|
||||
--> $DIR/no-crate-level-doc-lint.rs:1:9
|
||||
|
|
||||
LL | #![deny(no_crate_level_doc)]
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
LL | #![deny(missing_crate_level_doc)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||||
= help: The following guide may be of use:
|
||||
https://doc.rust-lang.org/nightly/rustdoc/how-to-write-documentation.html
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue