File tree 2 files changed +7
-8
lines changed
2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1
- #![ deny( no_crate_level_doc ) ]
1
+ #![ deny( missing_crate_level_doc ) ]
2
2
3
3
pub fn foo ( ) { }
Original file line number Diff line number Diff line change 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
5
2
|
6
- note: lint level defined here
3
+ note: the lint level is defined here
7
4
--> $DIR/no-crate-level-doc-lint.rs:1:9
8
5
|
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
11
10
12
11
error: aborting due to previous error
13
12
You can’t perform that action at this time.
0 commit comments