Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 65f0ae4

Browse files
committed
rustdoc: Also run lint unused_doc_comments
1 parent 414482f commit 65f0ae4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/librustdoc/core.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ pub(crate) fn create_config(
230230
// it's unclear whether these should be part of rustdoc directly (#77364)
231231
rustc_lint::builtin::MISSING_DOCS.name.to_string(),
232232
rustc_lint::builtin::INVALID_DOC_ATTRIBUTES.name.to_string(),
233+
rustc_lint::builtin::UNUSED_DOC_COMMENTS.name.to_string(),
233234
// these are definitely not part of rustdoc, but we want to warn on them anyway.
234235
rustc_lint::builtin::RENAMED_AND_REMOVED_LINTS.name.to_string(),
235236
rustc_lint::builtin::UNKNOWN_LINTS.name.to_string(),

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /