mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-17 01:13:11 +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() {}
|
pub fn foo() {}
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
error: No documentation found on this crate top module.
|
error: no documentation found for this crate's top-level module
|
||||||
|
|
||||||
Maybe you could be interested into looking at this documentation:
|
|
||||||
https://doc.rust-lang.org/nightly/rustdoc/how-to-write-documentation.html
|
|
||||||
|
|
|
|
||||||
note: lint level defined here
|
note: the lint level is defined here
|
||||||
--> $DIR/no-crate-level-doc-lint.rs:1:9
|
--> $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
|
error: aborting due to previous error
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user