Skip to content

Commit ffe1289

Browse files
Update tests
1 parent a8b0e40 commit ffe1289

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#![deny(no_crate_level_doc)]
1+
#![deny(missing_crate_level_doc)]
22

33
pub fn foo() {}
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
error: No documentation found on this crate top module.
2-
3-
Maybe you could be interested into looking at this documentation:
4-
https://doc.rust-lang.org/nightly/rustdoc/how-to-write-documentation.html
1+
error: no documentation found for this crate's top-level module
52
|
6-
note: lint level defined here
3+
note: the lint level is defined here
74
--> $DIR/no-crate-level-doc-lint.rs:1:9
85
|
9-
LL | #![deny(no_crate_level_doc)]
10-
| ^^^^^^^^^^^^^^^^^^
6+
LL | #![deny(missing_crate_level_doc)]
7+
| ^^^^^^^^^^^^^^^^^^^^^^^
8+
= help: The following guide may be of use:
9+
https://doc.rust-lang.org/nightly/rustdoc/how-to-write-documentation.html
1110

1211
error: aborting due to previous error
1312

0 commit comments

Comments
 (0)