mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Update tests
This commit is contained in:
parent
a8b0e40487
commit
ffe1289fd2
@ -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…
Reference in New Issue
Block a user