File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 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 ) ]
22
33pub 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
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
1211error: aborting due to previous error
1312
You can’t perform that action at this time.
0 commit comments